langtools/src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
changeset 14057 b4b0377b8dba
parent 14050 9bfad4b4b6a2
child 14538 384681be798f
equal deleted inserted replaced
14056:0ea78d6e0b7b 14057:b4b0377b8dba
   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