You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Ability to use from Java Modules. You'll need to replace all uses of javax.annotation by jakarta.annotation and ideally please find a replacement for JSR 305. See https://nipafx.dev/jsr-305-java-9/ for what a mess it is on Java 9+.
The text was updated successfully, but these errors were encountered:
Describe the bug
This library is incompatible with Java Modules. If you run
mvn dependency:tree
you will see:javax.annotation
andjakarta.annotation
. I believe the latter is meant to replace the former.javax.annotation
andjsr305
export the same package.Anyone who tries declaring this library as a dependency will get this error:
module X reads package javax.annotation from both jsr305 and java.annotation
Client Version
21.0.1
Java Version
23
To Reproduce
Create an application that contains a
module-info.java
that contains the following lines:Expected behavior
Ability to use from Java Modules. You'll need to replace all uses of
javax.annotation
byjakarta.annotation
and ideally please find a replacement for JSR 305. See https://nipafx.dev/jsr-305-java-9/ for what a mess it is on Java 9+.The text was updated successfully, but these errors were encountered: