Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5406

For JDK 16+ server requires --add-opens to allow reflective access to JDK classes

XMLWordPrintable

      JDK 16 prevents reflective access to JDK classes unless the JVM is launched with --illegal-access=permit or appropriate -add-opens are used. There's no point using --illegal-access as SE 17 will remove that, so we need to add appropriate --add-opens.

      So far I've observed a need to open the java.util and java.security packages in the java.base module.

            ropalka Richard Opalka
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: