Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P2
-
Resolution: Fixed
-
Affects Version/s: 9
-
Fix Version/s: 9-repo-jigsaw
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
Description
We have a major problem with JDK9
InputStream classData = classLoader.getResourceAsStream(path);
does not work when the path is to a resource in a module. This is causing many test frameworks like javaassist and jmockit to fail causing a large number of our tests to fail.
This is on the JSR 376 issues list:
http://openjdk.java.net/projects/jigsaw/spec/issues/#ClassFilesAsResources
but we need a fix now.
InputStream classData = classLoader.getResourceAsStream(path);
does not work when the path is to a resource in a module. This is causing many test frameworks like javaassist and jmockit to fail causing a large number of our tests to fail.
This is on the JSR 376 issues list:
http://openjdk.java.net/projects/jigsaw/spec/issues/#ClassFilesAsResources
but we need a fix now.