-
Bug
-
Resolution: Done
-
Major
-
5.0.0.Alpha7
-
None
-
java version "1.8.0_161" Java(TM) SE Runtime Environment (build 8.0.5.11 - pxa6480sr5fp11-20180326_01(SR5 FP11)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64 Compressed References 20180309_380776 (JIT enabled, AOT enabled) OpenJ9 - 49fcaf39 OMR - 5cbbadf IBM - 4453dac) JCL - 20180319_01 based on Oracle jdk8u161-b12
java version "1.8.0_161" Java(TM) SE Runtime Environment (build 8.0.5.11 - pxa6480sr5fp11-20180326_01(SR5 FP11)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64 Compressed References 20180309_380776 (JIT enabled, AOT enabled) OpenJ9 - 49fcaf39 OMR - 5cbbadf IBM - 4453dac) JCL - 20180319_01 based on Oracle jdk8u161-b12
https://github.com/wildfly/wildfly-core/blob/5.0.0.Alpha7/server/src/main/java/org/jboss/as/server/moduleservice/ExtensionIndexService.java#L94 reads extensions from jars manifest like:
File jar = new File(<jar>) final JarFile jarFile = new JarFile(jar); final Manifest manifest = jarFile.getManifest(); final Attributes mainAttributes = manifest.getMainAttributes(); ...
The latest IBM jdk 8.0-5.11 (and possible some of previous releases) contains some jars [1] where manifest.getMainAttributes(); throws NPE, causing deploy operation of archive with Extension-List to fail, see WFLY-10349.
[1]
ibm-java-8.0-5.11/jre/lib/ext/traceformat.jar: java.lang.NullPointerException
ibm-java-8.0-5.11/jre/lib/ext/dtfj.jar: java.lang.NullPointerException
ibm-java-8.0-5.11/jre/lib/ext/dtfjview.jar: java.lang.NullPointerException
- causes
-
WFLY-10349 WeldBundledLibraryDeployment Test cases fail on IBM jdk
-
- Resolved
-