Source: cglib Version: 3.2.12-1 Severity: important Tags: ftbfs sid bookworm User: debian-j...@lists.debian.org Usertags: default-java17
cglib fails to build with OpenJDK 17, the tests make an illegal reflective access into java.base/java.lang: [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running net.sf.cglib.reflect.TestReflectPerf iteration count: 1000000 [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.046 s <<< FAILURE! - in net.sf.cglib.reflect.TestReflectPerf [ERROR] testReflectPerf(net.sf.cglib.reflect.TestReflectPerf) Time elapsed: 0.033 s <<< ERROR! java.lang.IllegalStateException: Unable to load cache item at net.sf.cglib.reflect.TestReflectPerf.testReflectPerf(TestReflectPerf.java:37) Caused by: java.lang.ExceptionInInitializerError at net.sf.cglib.reflect.TestReflectPerf.testReflectPerf(TestReflectPerf.java:37) Caused by: net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4cfaf581 at net.sf.cglib.reflect.TestReflectPerf.testReflectPerf(TestReflectPerf.java:37) Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4cfaf581 at net.sf.cglib.reflect.TestReflectPerf.testReflectPerf(TestReflectPerf.java:37)