8233685: Test tools/javac/modules/AddLimitMods.java fails

Reviewed-by: vromero
This commit is contained in:
Jan Lahoda 2020-10-09 06:22:15 +00:00
parent 70be8c7a46
commit a2f651904d

View File

@ -394,6 +394,7 @@ public class AddLimitMods extends ModuleTestBase {
try { try {
System.err.println("Running m2x/test.Test:"); System.err.println("Running m2x/test.Test:");
output = new JavaTask(tb) output = new JavaTask(tb)
.includeStandardOptions(false)
.vmOptions(augmentOptions(options, .vmOptions(augmentOptions(options,
Collections.emptyList(), Collections.emptyList(),
"--module-path", modulePath.toString() + File.pathSeparator + out.getParent().toString(), "--module-path", modulePath.toString() + File.pathSeparator + out.getParent().toString(),