equal
deleted
inserted
replaced
262 .files(findJavaFiles(cpSrc)) |
262 .files(findJavaFiles(cpSrc)) |
263 .run(Task.Expect.FAIL) |
263 .run(Task.Expect.FAIL) |
264 .writeAll() |
264 .writeAll() |
265 .getOutputLines(Task.OutputKind.DIRECT); |
265 .getOutputLines(Task.OutputKind.DIRECT); |
266 |
266 |
267 if (!actual.contains("- compiler.err.option.not.allowed.with.target: --add-modules, 1.8")) { |
267 if (!actual.contains("- compiler.err.option.not.allowed.with.target: --add-modules, 8")) { |
268 throw new IllegalStateException("incorrect errors; actual=" + actual); |
268 throw new IllegalStateException("incorrect errors; actual=" + actual); |
269 } |
269 } |
270 |
270 |
271 tb.writeJavaFiles(cpSrc, "module m1x {}"); |
271 tb.writeJavaFiles(cpSrc, "module m1x {}"); |
272 |
272 |