langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
changeset 14058 c7ec7facdd20
parent 14057 b4b0377b8dba
child 14259 fb94a1df0d53
--- a/langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Thu Oct 04 13:04:53 2012 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java	Fri Oct 05 14:35:24 2012 +0100
@@ -1227,7 +1227,7 @@
             if (errorCount() > 0 && !shouldStop(CompileState.ATTR)) {
                 //if in fail-over mode, ensure that AST expression nodes
                 //are correctly initialized (e.g. they have a type/symbol)
-                attr.postAttr(env);
+                attr.postAttr(env.tree);
             }
             compileStates.put(env, CompileState.ATTR);
         }