langtools/src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
equal
deleted
inserted
replaced
804 |
804 |
805 compiler = JavaCompiler.instance(context); |
805 compiler = JavaCompiler.instance(context); |
806 log = Log.instance(context); |
806 log = Log.instance(context); |
807 log.nerrors = priorErrors; |
807 log.nerrors = priorErrors; |
808 log.nwarnings += priorWarnings; |
808 log.nwarnings += priorWarnings; |
809 log.deferDiagnostics = true; |
809 log.deferAll(); |
810 |
810 |
811 // the following is for the benefit of JavacProcessingEnvironment.getContext() |
811 // the following is for the benefit of JavacProcessingEnvironment.getContext() |
812 JavacProcessingEnvironment.this.context = context; |
812 JavacProcessingEnvironment.this.context = context; |
813 |
813 |
814 // the following will be populated as needed |
814 // the following will be populated as needed |