This test: java/lang/reflect/OldenCompilingWithDefaults.java has a few @compile tags:
* @compile -source 1.6 -target 1.6 OldenCompilingWithDefaults.java
* @compile -source 1.7 -target 1.7 OldenCompilingWithDefaults.java
* @compile OldenCompilingWithDefaults.java
Test code does not depend on anything but java.base, but it is impossible to run this test with -javacoptions:"-limitmods java.base" because the -limitmods is passed down. The error is:
javac: option -limitmods not allowed with target 1.6
* @compile -source 1.6 -target 1.6 OldenCompilingWithDefaults.java
* @compile -source 1.7 -target 1.7 OldenCompilingWithDefaults.java
* @compile OldenCompilingWithDefaults.java
Test code does not depend on anything but java.base, but it is impossible to run this test with -javacoptions:"-limitmods java.base" because the -limitmods is passed down. The error is:
javac: option -limitmods not allowed with target 1.6
- relates to
-
JDK-8145414 Fix more module dependences in jdk tests
- Open