mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8136930: Simplify use of module-system options by custom launchers
8160489: Multiple -Xpatch lines ignored by javac 8156998: javac should support new option -XinheritRuntimeEnvironment Reviewed-by: jlahoda, ksrini
This commit is contained in:
parent
3b80559162
commit
978417c4c7
161 changed files with 2421 additions and 1050 deletions
|
@ -79,8 +79,7 @@ public class TestTrees extends AbstractProcessor {
|
|||
fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrcDir, self + ".java")));
|
||||
|
||||
Iterable<String> opts = Arrays.asList(
|
||||
"-XaddExports:"
|
||||
+ "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
|
||||
"--add-exports", "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
|
||||
"-d", ".",
|
||||
"-XDcompilePolicy=simple");
|
||||
|
||||
|
@ -91,8 +90,7 @@ public class TestTrees extends AbstractProcessor {
|
|||
throw new AssertionError("compilation failed");
|
||||
|
||||
opts = Arrays.asList(
|
||||
"-XaddExports:"
|
||||
+ "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
|
||||
"--add-exports", "jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
|
||||
"-XDaccessInternalAPI",
|
||||
"-d", ".",
|
||||
"-processorpath", testClassDir,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue