-
Guice version 6.0.0 allows for the slow transition away from javax classes, and while javax.inject, javax.servlet, and javax.persistence are mentioned by name, javax.annotation is not. According to the wiki we should still be using javax.annotation. Is there any plan to migrate to jakarta for this? Bonus question that I could do work to find out, but figured I'd get an official word on instead: is there any current support for jakarta.annotation over the findbugs/jsr305 jar as of Guice 6.0.0/7.0.0? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Per https://github.com/google/guice/wiki/UseNullable#supported-nullable-annotations, Guice recognizes any annotation whose simple name is "Nullable". Guice has no preference for the javax nor the jakarta namespace for Nullable annotations. The wiki was just written when the javax one was the main/only option. I'll update the wiki to lead with the jakarta namespace instead. |
Beta Was this translation helpful? Give feedback.
Per https://github.com/google/guice/wiki/UseNullable#supported-nullable-annotations, Guice recognizes any annotation whose simple name is "Nullable". Guice has no preference for the javax nor the jakarta namespace for Nullable annotations. The wiki was just written when the javax one was the main/only option. I'll update the wiki to lead with the jakarta namespace instead.