eclipse-mylyn / org.eclipse.mylyn

Eclipse Public License 2.0
13 stars 9 forks source link

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

Open gnl42 opened 2 months ago

gnl42 commented 2 months ago

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

akurtakov commented 2 months ago

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.