src/share/classes/com/sun/tools/javac/main/JavaCompiler.java

changeset 1348
573ceb23beeb
parent 1347
1408af4cd8b0
child 1358
fc123bdeddb8
     1.1 --- a/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Thu Oct 04 13:04:53 2012 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Fri Oct 05 14:35:24 2012 +0100
     1.3 @@ -1227,7 +1227,7 @@
     1.4              if (errorCount() > 0 && !shouldStop(CompileState.ATTR)) {
     1.5                  //if in fail-over mode, ensure that AST expression nodes
     1.6                  //are correctly initialized (e.g. they have a type/symbol)
     1.7 -                attr.postAttr(env);
     1.8 +                attr.postAttr(env.tree);
     1.9              }
    1.10              compileStates.put(env, CompileState.ATTR);
    1.11          }

mercurial