equal
deleted
inserted
replaced
86 .sources("module java.base { }") |
86 .sources("module java.base { }") |
87 .outdir("modules/java.base") |
87 .outdir("modules/java.base") |
88 .run(); |
88 .run(); |
89 |
89 |
90 // ideally we'd have a better message for this case |
90 // ideally we'd have a better message for this case |
91 String[] mpOpts = { "-system", "none", "-modulepath", "modules" }; |
91 String[] mpOpts = { "--system", "none", "--module-path", "modules" }; |
92 test(mpOpts, compilerErrorMessage); |
92 test(mpOpts, compilerErrorMessage); |
93 } |
93 } |
94 |
94 |
95 private void test(String[] options, String expect) { |
95 private void test(String[] options, String expect) { |
96 System.err.println("Testing " + java.util.Arrays.toString(options)); |
96 System.err.println("Testing " + java.util.Arrays.toString(options)); |