Details
-
Bug
-
Resolution: Not an issue
-
Neutral
-
None
-
None
-
None
Description
Steps to reproduce
- Upgrade to Java 17 version and deploy into the environment. (Magnolia 6.2.40)
- Open JCR Tools / Definitions/ Security.
- Note: Other apps may be affected that our shakeout test did not cover.
Logs
Exception 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 @6487785 [in thread "http-nio-8080-exec-9"]
Screenshot

GIF

Expected results
Open any apps without any issues and log errors.
Actual results
JCR tools can't be opened. An error is being return by Magnolia.
Workaround
Add JVM options as suggested in https://github.com/cglib/cglib/issues/191
Development notes
Checklists
Acceptance criteria
Attachments
Issue Links
- is duplicated by
-
MAGNOLIA-9226 cglib-nodep-3.3.30 Java 17 Compatibilty issue
-
- Closed
-