langtools/test/tools/javac/processing/messager/MessagerDiags.java
changeset 40302 8c0d8d2c3519
parent 36526 3b41f1c69604
equal deleted inserted replaced
40301:c20170571b84 40302:8c0d8d2c3519
    78         }
    78         }
    79         return false;
    79         return false;
    80     }
    80     }
    81 
    81 
    82     public static void main(String... args) throws IOException {
    82     public static void main(String... args) throws IOException {
    83         final String bootPath = System.getProperty("sun.boot.class.path");
       
    84         final JavaCompiler tool = ToolProvider.getSystemJavaCompiler();
    83         final JavaCompiler tool = ToolProvider.getSystemJavaCompiler();
    85         assert tool != null;
    84         assert tool != null;
    86 
    85 
    87         DiagnosticCollector<JavaFileObject> dc = new DiagnosticCollector<>();
    86         DiagnosticCollector<JavaFileObject> dc = new DiagnosticCollector<>();
    88         List<String> options = Arrays.asList(
    87         List<String> options = Arrays.asList(