Details
Description
Steps to reproduce
- Upgrade to Java 17 version and deploy into the environment.
- 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
Checklists
Acceptance criteria
Attachments
Issue Links
- duplicates
-
ABTEST-555 cglib-nodep-3.3.30 Java 17 Compatibilty issue
-
- Closed
-