Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JakartaEE: Fix more cases where jakarta namespace has to be supported #6473

Merged
merged 3 commits into from
Oct 1, 2023

Conversation

matthiasblaesing
Copy link
Contributor

NetBeans has partitial support for JakartaEE 9+, but several areas that provide support are still lacking support for the new package namespace "jakarta." instead of "javax.".

This PR adjusts a subset of these cases and focuses on the JPA and JSF area. Further areas where identified while working on this and were marked with @todo comments.

There are two areas, that form the main picture: Code generated in the wrong package namespace and code scanning not finding classes in the new "jakarta" namespace. For the former switches were introduced, that change the generated code to the "jakarta" namespace when a compatible JSF version is detected. The code scanning was in most placed adjusted, so that both variants "javax" and "jakarta" are recognized.

Closes: #6445
Closes: #4840

@matthiasblaesing matthiasblaesing added Java EE/Jakarta EE [ci] enable enterprise job tests enterprise [ci] enable enterprise job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Sep 20, 2023
@matthiasblaesing matthiasblaesing added this to the NB20 milestone Sep 20, 2023
@matthiasblaesing
Copy link
Contributor Author

I intent to merge this next weekend. If anyone wants to object, please do so now.

@matthiasblaesing matthiasblaesing merged commit f6e7fe3 into apache:master Oct 1, 2023
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) enterprise [ci] enable enterprise job Java EE/Jakarta EE [ci] enable enterprise job tests
Projects
1 participant