--- 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);
}