Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9226

cglib-nodep-3.3.30 Java 17 Compatibilty issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Upgrade to Java 17 version and deploy into the environment. 
      2. 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

            Activity

              People

                Unassigned Unassigned
                rdlfperez Rodolfo Perez III
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD