-
Bug
-
Resolution: Done
-
Major
-
None
-
-
53300848
1
down vote
favorite
Since Java 9 there are Multi-Release JARs (MRJARS) that allow different classes for different Java versions to be included in one JAR file. I was surprised when a Wildfly 14 running on Java 11 executed Java-8-code in a JAR included in a WAR although the JAR was a MRJAR with code for Java 11. That JAR included as a dependency for a regular Java SE project is running different code depending on the running JRE, but when included in a WAR, the Java-11-code seems to be ignored.
Is that expected behavior for a webserver, as Java EE 8 does not explicitly require Java 9 (which introduced MRJARs) but only Java 8?
- is incorporated by
-
JBEAP-16624 [GSS](7.2.z) JDK 11 Multi-Release jars - Classes for newer versions are not loaded and VFSResourceLoader doesn't take into account the Multi-Release manifest attribute value
- Closed
- relates to
-
WFCORE-4298 Multi-release jar resource loading in VFSResourceLoader doesn't take into account the Multi-Release manifest attribute value
- Resolved