1.1 --- a/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Fri Jun 26 12:22:40 2009 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java Fri Jun 26 18:51:39 2009 -0700 1.3 @@ -133,6 +133,7 @@ 1.4 public Boolean call() { 1.5 if (!used.getAndSet(true)) { 1.6 beginContext(); 1.7 + notYetEntered = new HashMap<JavaFileObject, JCCompilationUnit>(); 1.8 try { 1.9 compilerMain.setFatalErrors(true); 1.10 result = compilerMain.compile(args, context, fileObjects, processors); 1.11 @@ -143,6 +144,7 @@ 1.12 args = null; 1.13 context = null; 1.14 fileObjects = null; 1.15 + notYetEntered = null; 1.16 return result == 0; 1.17 } else { 1.18 throw new IllegalStateException("multiple calls to method 'call'");