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

@ -100,7 +100,7 @@ public class ResolveTest extends ModuleTestBase {
.writeAll()
.getOutput(Task.OutputKind.DIRECT);
if (!log.contains("C2.java:1:31: compiler.err.package.not.visible: p1, (compiler.misc.not.def.access.does.not.read: m2, p1, m1)"))
if (!log.contains("C2.java:1:33: compiler.err.not.def.access.package.cant.access: p1.C1, p1"))
throw new Exception("expected output not found");
}
@ -124,7 +124,7 @@ public class ResolveTest extends ModuleTestBase {
.writeAll()
.getOutput(Task.OutputKind.DIRECT);
if (!log.contains("C2.java:1:31: compiler.err.package.not.visible: p1, (compiler.misc.not.def.access.not.exported: p1, m1)"))
if (!log.contains("C2.java:1:33: compiler.err.not.def.access.package.cant.access: p1.C1, p1"))
throw new Exception("expected output not found");
}
@ -150,7 +150,7 @@ public class ResolveTest extends ModuleTestBase {
.writeAll()
.getOutput(Task.OutputKind.DIRECT);
if (!log.contains("C2.java:1:31: compiler.err.package.not.visible: p1, (compiler.misc.not.def.access.not.exported.to.module: p1, m1, m2)"))
if (!log.contains("C2.java:1:33: compiler.err.not.def.access.package.cant.access: p1.C1, p1"))
throw new Exception("expected output not found");
}
@ -174,7 +174,7 @@ public class ResolveTest extends ModuleTestBase {
.writeAll()
.getOutput(Task.OutputKind.DIRECT);
if (!log.contains("C2.java:1:31: compiler.err.package.not.visible: p1, (compiler.misc.not.def.access.does.not.read: m2, p1, m1)"))
if (!log.contains("C2.java:1:33: compiler.err.not.def.access.package.cant.access: p1.C1, p1"))
throw new Exception("expected output not found");
}