#1011601 taglibs-standard: FTBFS with OpenJDK 17 due to an illegal reflective access during the tests #1011601
- Package:
- src:taglibs-standard
- Source:
- taglibs-standard
- Submitter:
- Emmanuel Bourg
- Date:
- 2022-05-27 15:09:03 UTC
- Severity:
- important
- Tags:
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
Hello, Bug #1011601 in taglibs-standard reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/taglibs-standard/-/commit/4b11882bec6a5ca25bd3a07291586cb39698a3a7 (this message was generated automatically) -- Greetings https://bugs.debian.org/1011601
We believe that the bug you reported is fixed in the latest version of taglibs-standard, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1011601@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Emmanuel Bourg <ebourg@apache.org> (supplier of updated taglibs-standard package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 27 May 2022 16:33:18 +0200 Source: taglibs-standard Architecture: source Version: 1.2.5-3 Distribution: unstable Urgency: medium Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Changed-By: Emmanuel Bourg <ebourg@apache.org> Closes: 1011601 Changes: taglibs-standard (1.2.5-3) unstable; urgency=medium . * Fixed the build failure with OpenJDK 17 (Closes: #1011601) * Depend on libservlet-api-java instead of libservlet3.1-java * Standards-Version updated to 4.6.1 * Switch to debhelper level 13 * Use salsa.debian.org Vcs-* URLs Checksums-Sha1: e0ee09fcdbfd93d140a894c26e778f33c9019eae 2408 taglibs-standard_1.2.5-3.dsc 6ef80f04d225eb782b5f4e1aa8b331facd57998f 4516 taglibs-standard_1.2.5-3.debian.tar.xz 41f332bebd1dca05a24eb2b0dbfb81a4184cf177 15672 taglibs-standard_1.2.5-3_source.buildinfo Checksums-Sha256: f8c2e9dcbd5e921486aba7817fdb53ddd2a4040ba2cf2f69ca27f495987da7df 2408 taglibs-standard_1.2.5-3.dsc e96d162fdd2f2ef539f47ba11785770637184547bc564ac1056398a781414e39 4516 taglibs-standard_1.2.5-3.debian.tar.xz 6e11bdbd7e05167913863c189f47c2fa69579aba8b7a64d7506523a83f75130a 15672 taglibs-standard_1.2.5-3_source.buildinfo Files: b3b570a6f71687ef56328d1fb27afd4a 2408 java optional taglibs-standard_1.2.5-3.dsc 6d07a4de1a509ae928d8501c832d27b3 4516 java optional taglibs-standard_1.2.5-3.debian.tar.xz d904db6e82667eb1af4f3adc1bb1ead2 15672 java optional taglibs-standard_1.2.5-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmKQ4TsSHGVib3VyZ0Bh cGFjaGUub3JnAAoJEPUTxBnkudCsYtgQAL6WCdalp9CpRTdTq74QqslueMJ1ucZA OhfuBl4UsjwoBhwAEKcxU5CtuSWQ5MWF5eREbSboeu8oalZuFeP3ExZlp5o0qmur bWrMg9O0BuwANJlF2dMKISLYVs+u0PuPtUh5wPGuWe1C30uNH7wsqjne9+759ocR 5Y/M+R0qAURWCkH5nlA8TiM+Qu5vPWD8H6eFfRi6DQu/FC2DIUYHO7jFo33l0yJs bPyzE26siTU8dwTHeUVZA8Diw7HB1p4lf6xu3CVjof4QbcoJju35wl9y21vHEisz zzMToNZrfn1D2p0+sdKemDWqsdTBLxEis0JGibtmac11fr4S3OwL/Jik0kHEoV72 NIE/V/mvilqusjZLruQ+b0HzIkIu8QgrFhH/k2KeWkJnD5X6Oeysr3TJleTrg1PU aVnXLzcSBelwqZNOFHONeAL6/f7vazMEUWqOl+wA2OufXA4CWQVTm/No3NwHFN7f 59w1Vp5S0Q0k+g5r70G8g3rhqCFNwjba0H5gOeZ2xMQ5s8NyK5MZvbOSC2EjmCey d1RipcwssUY6JyDXu2lx2nOZTl6bw0Uqg+nZBVy/bKG68cLmOJTSZDaKsHtIBJE8 r7T7LIFaxezve3ZYBeq1On178JzTFmT/Z8kwVQHJw6ijXMS92UQsEdHX/SeyGAR8 IsSVqLXMjosa =aTtL -----END PGP SIGNATURE-----