Bug#1011601: taglibs-standard: FTBFS with OpenJDK 17 due to an illegal reflective access during the tests
Emmanuel Bourg
ebourg at apache.org
Wed May 25 08:44:34 BST 2022
Source: taglibs-standard
Version: 1.2.5-2.1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
taglibs-standard 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 javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest
[ERROR] Tests run: 3, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 0.12 s <<< FAILURE! - in javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest
[ERROR] tagNotPermittedWhenDeclaredAtRoot(javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest) Time elapsed: 0.076 s <<< ERROR!
java.lang.ExceptionInInitializerError
at javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest.createTlv(PermittedTaglibsTLVTest.java:50)
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 javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest.createTlv(PermittedTaglibsTLVTest.java:50)
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 javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest.createTlv(PermittedTaglibsTLVTest.java:50)
[ERROR] tagPermittedWhenDeclaredAtRoot(javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest) Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class org.easymock.internal.ClassProxyFactory$2
at javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLVTest.createTlv(PermittedTaglibsTLVTest.java:50)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] PermittedTaglibsTLVTest.createTlv:50 » ExceptionInInitializer
[ERROR] PermittedTaglibsTLVTest.createTlv:50 » NoClassDefFound Could not initialize cl...
[INFO]
[ERROR] Tests run: 3, Failures: 0, Errors: 2, Skipped: 1
More information about the pkg-java-maintainers
mailing list