test/langtools/tools/javac/modules/CompileModulePatchTest.java
changeset 49579 fce4252d5227
parent 47216 71c04702a3d5
equal deleted inserted replaced
49578:0c3e252cea44 49579:fce4252d5227
   250                 .run(Expect.FAIL)
   250                 .run(Expect.FAIL)
   251                 .writeAll()
   251                 .writeAll()
   252                 .getOutputLines(Task.OutputKind.DIRECT);
   252                 .getOutputLines(Task.OutputKind.DIRECT);
   253 
   253 
   254         List<String> expectedOut = Arrays.asList(
   254         List<String> expectedOut = Arrays.asList(
   255                 "Extra.java:1:76: compiler.err.doesnt.exist: p",
   255                 "Extra.java:1:75: compiler.err.package.not.visible: p, (compiler.misc.not.def.access.does.not.read.unnamed: p, java.compiler)",
   256                 "1 error"
   256                 "1 error"
   257         );
   257         );
   258 
   258 
   259         if (!expectedOut.equals(log))
   259         if (!expectedOut.equals(log))
   260             throw new Exception("expected output not found: " + log);
   260             throw new Exception("expected output not found: " + log);