src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Fri Jan 18 02:48:15 2013
--- new/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Fri Jan 18 02:48:14 2013
*** 152,165 ****
--- 152,166 ----
if (used.getAndSet(true)) {
if (compiler == null)
throw new IllegalStateException();
} else {
initContext();
+ compilerMain.log = Log.instance(context);
compilerMain.setOptions(Options.instance(context));
compilerMain.filenames = new LinkedHashSet<File>();
Collection<File> filenames = compilerMain.processArgs(CommandLine.parse(args), classNames);
! if (filenames != null && !filenames.isEmpty())
throw new IllegalArgumentException("Malformed arguments " + toString(filenames, " "));
compiler = JavaCompiler.instance(context);
compiler.keepComments = true;
compiler.genEndPos = true;
// NOTE: this value will be updated after annotation processing
src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File