-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045168 | 8u25 | Dan Smith | P4 | Resolved | Fixed | b01 |
JDK-8043057 | 8u20 | Dan Smith | P4 | Resolved | Fixed | b15 |
JDK-8052607 | emb-8u26 | Dan Smith | P4 | Resolved | Fixed | b17 |
To run JCK tests via langtools/test/Makefile, Java is invoked as follows:
$(JT_JAVA)/bin/java -XX:MaxPermSize=256m ...
The MaxPermSize option is unsupported in JDK 9, causing the command to crash:
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
This is easily triggered from the top-level test/Makefile, when attempting to test a JDK 9 build, because it sets JT_JAVA to $(PRODUCT_HOME):
make -C test PRODUCT_HOME="$JDK9_HOME" JCK_HOME="$JCK_HOME" langtools_jck-compiler
$(JT_JAVA)/bin/java -XX:MaxPermSize=256m ...
The MaxPermSize option is unsupported in JDK 9, causing the command to crash:
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
This is easily triggered from the top-level test/Makefile, when attempting to test a JDK 9 build, because it sets JT_JAVA to $(PRODUCT_HOME):
make -C test PRODUCT_HOME="$JDK9_HOME" JCK_HOME="$JCK_HOME" langtools_jck-compiler
- backported by
-
JDK-8043057 langtools/test/Makefile breaks when JT_JAVA set to a JDK 9 build
-
- Resolved
-
-
JDK-8045168 langtools/test/Makefile breaks when JT_JAVA set to a JDK 9 build
-
- Resolved
-
-
JDK-8052607 langtools/test/Makefile breaks when JT_JAVA set to a JDK 9 build
-
- Resolved
-