Bug#1011592: plexus-utils2: FTBFS with OpenJDK 17 due to an illegal reflective access during the tests
Emmanuel Bourg
ebourg at apache.org
Wed May 25 00:17:57 BST 2022
Source: plexus-utils2
Version: 3.3.0-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
plexus-utils2 fails to build with OpenJDK 17, the tests make an illegal
reflective accesses into java.base/java.lang:
[INFO] Running org.codehaus.plexus.util.ReflectionUtilsTest
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.codehaus.plexus.util.ReflectionUtilsTest
[ERROR] testComplexVariableAccess(org.codehaus.plexus.util.ReflectionUtilsTest) Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final int java.lang.Class.ANNOTATION accessible: module java.base does not "opens java.lang" to unnamed module @4cfaf581
at org.codehaus.plexus.util.ReflectionUtilsTest.testComplexVariableAccess(ReflectionUtilsTest.java:49)
More information about the pkg-java-maintainers
mailing list