test/langtools/tools/javac/T7093325.java
changeset 47350 d65c3b21081c
parent 47216 71c04702a3d5
equal deleted inserted replaced
47349:5958eaae167a 47350:d65c3b21081c
   128         return true;
   128         return true;
   129     }
   129     }
   130 
   130 
   131     @Override
   131     @Override
   132     public void doWork() throws IOException {
   132     public void doWork() throws IOException {
   133         verifyBytecode(newCompilationTask()
   133         newCompilationTask()
   134                 .withSourceFromTemplate(source_template)
   134                 .withSourceFromTemplate(source_template)
   135                 .generate());
   135                 .generate(this::verifyBytecode);
   136     }
   136     }
   137 
   137 
   138     void verifyBytecode(Result<Iterable<? extends JavaFileObject>> result) {
   138     void verifyBytecode(Result<Iterable<? extends JavaFileObject>> result) {
   139         boolean lastInlined = false;
   139         boolean lastInlined = false;
   140         boolean hasCode = false;
   140         boolean hasCode = false;