-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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.
- is cloned by
-
JBEAP-22098 (7.4.z) WFCORE-5406 - For JDK 16+ server requires --add-opens to allow reflective access to JDK classes
- Closed
- is related to
-
WFCORE-4296 Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions
- Resolved
-
WFCORE-5453 Include add-opens and add-exports to Bootable JAR runtime manifest
- Closed
-
JBEAP-22351 Include add-opens and add-exports to Bootable JAR runtime manifest
- Closed
-
WFCORE-5438 For modular VMs include --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED
- Closed
-
WFCORE-5428 Re-evaluate standard JPMS settings
- Open