8169074: Build is failing after JDK-8166538

Reverting d7c9720c4223

Reviewed-by: darcy
This commit is contained in:
Jan Lahoda 2016-11-02 20:21:45 +01:00
parent 5daafbe43b
commit 7cffceb22f
71 changed files with 114 additions and 1926 deletions

View file

@ -262,7 +262,7 @@ public class UsesTest extends ModuleTestBase {
.writeAll()
.getOutputLines(Task.OutputKind.DIRECT);
List<String> expected = Arrays.asList("module-info.java:1:31: compiler.err.package.not.visible: p, (compiler.misc.not.def.access.not.exported: p, m1)",
List<String> expected = Arrays.asList("module-info.java:1:32: compiler.err.not.def.access.package.cant.access: p.C, p",
"1 error");
if (!output.containsAll(expected)) {
throw new Exception("Expected output not found");
@ -286,7 +286,7 @@ public class UsesTest extends ModuleTestBase {
.writeAll()
.getOutputLines(Task.OutputKind.DIRECT);
List<String> expected = Arrays.asList("module-info.java:1:31: compiler.err.package.not.visible: p, (compiler.misc.not.def.access.not.exported: p, m1)",
List<String> expected = Arrays.asList("module-info.java:1:32: compiler.err.not.def.access.package.cant.access: p.C, p",
"1 error");
if (!output.containsAll(expected)) {
throw new Exception("Expected output not found");