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

WARNING: Annotation classes from the 'javax.inject' or 'javax.annotation' package found. #528

Open
gnl42 opened this issue May 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gnl42
Copy link
Contributor

gnl42 commented May 13, 2024

Something to think about:

WARNING: Annotation classes from the 'javax.inject' or 'javax.annotation' package found.
It is recommended to migrate to the corresponding replacements in the jakarta namespace.
The Eclipse E4 Platform will remove support for those javax-annotations in a future release.
To suppress this warning, set the VM property: -Declipse.e4.inject.javax.warning=false
To disable processing of 'javax' annotations entirely, set the VM property: -Declipse.e4.inject.javax.disabled=true

@gnl42 gnl42 added the enhancement New feature or request label May 13, 2024
@akurtakov
Copy link
Contributor

Platform has moved to jakarta* usage in its codebase exclusively (unless we missed smth) and javax is just around for some time for plugins to adapt. Standard deprecation period is 2 year but we are not giving that in the message as if there is some CVE against javax and no fix for it removal might happen earlier (or at least disable it by default).
If experience on Platform counts it has been mostly find-and-replace effort to migrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants