langtools/test/tools/javac/modules/EdgeCases.java
changeset 43138 680d378b9d64
parent 42822 a84956e7ee4d
child 43269 12f989542165
equal deleted inserted replaced
43137:9a96f02a6293 43138:680d378b9d64
   176                 .files(findJavaFiles(src))
   176                 .files(findJavaFiles(src))
   177                 .run(Task.Expect.FAIL)
   177                 .run(Task.Expect.FAIL)
   178                 .writeAll()
   178                 .writeAll()
   179                 .getOutput(Task.OutputKind.DIRECT);
   179                 .getOutput(Task.OutputKind.DIRECT);
   180 
   180 
   181         if (!log.contains("Test.java:1:52: compiler.err.not.def.access.class.intf.cant.access: call(), api1.Api1") ||
   181         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)") ||
   182             !log.contains("Test.java:1:76: compiler.err.not.def.access.class.intf.cant.access: toString(), java.lang.Object"))
   182             !log.contains("Test.java:1:76: compiler.err.not.def.access.class.intf.cant.access: toString(), java.lang.Object"))
   183             throw new Exception("expected output not found");
   183             throw new Exception("expected output not found");
   184     }
   184     }
   185 
   185 
   186     @Test
   186     @Test