diff -r 9a96f02a6293 -r 680d378b9d64 langtools/test/tools/javac/modules/XModuleTest.java --- a/langtools/test/tools/javac/modules/XModuleTest.java Tue Jan 10 11:31:59 2017 -0800 +++ b/langtools/test/tools/javac/modules/XModuleTest.java Wed Jan 11 10:59:57 2017 +0100 @@ -288,7 +288,7 @@ .writeAll() .getOutputLines(Task.OutputKind.DIRECT); - List expected = Arrays.asList("A.java:1:36: compiler.err.doesnt.exist: pkg2", + List expected = Arrays.asList("A.java:1:32: compiler.err.package.not.visible: pkg2, (compiler.misc.not.def.access.does.not.read: m1, pkg2, m2)", "1 error"); if (!expected.equals(log))