1.1 --- a/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Thu Nov 15 19:54:20 2012 -0800 1.2 +++ b/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Thu Nov 15 23:07:24 2012 -0800 1.3 @@ -74,7 +74,7 @@ 1.4 private List<JavaFileObject> fileObjects; 1.5 private Map<JavaFileObject, JCCompilationUnit> notYetEntered; 1.6 private ListBuffer<Env<AttrContext>> genList; 1.7 - private AtomicBoolean used = new AtomicBoolean(); 1.8 + private final AtomicBoolean used = new AtomicBoolean(); 1.9 private Iterable<? extends Processor> processors; 1.10 1.11 private Main.Result result = null; 1.12 @@ -99,11 +99,11 @@ 1.13 } 1.14 1.15 JavacTaskImpl(Main compilerMain, 1.16 - Iterable<String> flags, 1.17 + Iterable<String> args, 1.18 Context context, 1.19 Iterable<String> classes, 1.20 Iterable<? extends JavaFileObject> fileObjects) { 1.21 - this(compilerMain, toArray(flags), toArray(classes), context, toList(fileObjects)); 1.22 + this(compilerMain, toArray(args), toArray(classes), context, toList(fileObjects)); 1.23 } 1.24 1.25 static private String[] toArray(Iterable<String> iter) {