-
Enhancement
-
Resolution: Fixed
-
P2
-
9
-
b40
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085457 | emb-9 | Jonathan Gibbons | P2 | Resolved | Fixed | team |
Jigsaw uses a new image file format instead of rt.jar.
http://openjdk.java.net/jeps/220
But javac needs to be able to support system classes in .jar files for -target <= 8, and as such, we need to be able to generate lookalike rt.jar files for testing.
It is proposed to add a new method to the JarTask in the ToolBox test framework.
extract(JavaFileManager fm, Location l, String... paths)
The paths can be a specific path (e.g. java/lang/Object.class) or the contents of a package (e.g. java/lang/*) or the contents of a package and its subpackages (e.g. java/lang/**)
http://openjdk.java.net/jeps/220
But javac needs to be able to support system classes in .jar files for -target <= 8, and as such, we need to be able to generate lookalike rt.jar files for testing.
It is proposed to add a new method to the JarTask in the ToolBox test framework.
extract(JavaFileManager fm, Location l, String... paths)
The paths can be a specific path (e.g. java/lang/Object.class) or the contents of a package (e.g. java/lang/*) or the contents of a package and its subpackages (e.g. java/lang/**)
- backported by
-
JDK-8085457 ToolBox should support extracting classes from a JavaFileManager/Location
-
- Resolved
-
- relates to
-
JDK-8063718 Update TestInferBinaryName to reduce dependence on sun.boot.class.path
-
- Resolved
-