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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 17.0.0.Beta5
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ropalka Richard Opalka
              Reporter:
              brian.stansberry Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: