langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
equal
deleted
inserted
replaced
188 compiler = JavaCompiler.instance(context); |
188 compiler = JavaCompiler.instance(context); |
189 compiler.keepComments = true; |
189 compiler.keepComments = true; |
190 compiler.genEndPos = true; |
190 compiler.genEndPos = true; |
191 notYetEntered = new HashMap<>(); |
191 notYetEntered = new HashMap<>(); |
192 if (forParse) { |
192 if (forParse) { |
193 compiler.initProcessAnnotations(processors); |
193 compiler.initProcessAnnotations(processors, args.getFileObjects(), args.getClassNames()); |
194 for (JavaFileObject file: args.getFileObjects()) |
194 for (JavaFileObject file: args.getFileObjects()) |
195 notYetEntered.put(file, null); |
195 notYetEntered.put(file, null); |
196 genList = new ListBuffer<>(); |
196 genList = new ListBuffer<>(); |
197 } |
197 } |
198 } |
198 } |