diff -r 9a96f02a6293 -r 680d378b9d64 langtools/test/tools/javac/modules/EdgeCases.java --- a/langtools/test/tools/javac/modules/EdgeCases.java Tue Jan 10 11:31:59 2017 -0800 +++ b/langtools/test/tools/javac/modules/EdgeCases.java Wed Jan 11 10:59:57 2017 +0100 @@ -178,7 +178,7 @@ .writeAll() .getOutput(Task.OutputKind.DIRECT); - if (!log.contains("Test.java:1:52: compiler.err.not.def.access.class.intf.cant.access: call(), api1.Api1") || + if (!log.contains("Test.java:1:52: compiler.err.not.def.access.class.intf.cant.access.reason: call(), api1.Api1, api1, (compiler.misc.not.def.access.does.not.read: m3x, api1, m1x)") || !log.contains("Test.java:1:76: compiler.err.not.def.access.class.intf.cant.access: toString(), java.lang.Object")) throw new Exception("expected output not found"); }