The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Attr.PostAttrAnalyzer is supposed to detect and fill in null values in a partially attributed tree resulting from Attr errors. It misses the operator field in a JCAssignop tree.
Comments
EVALUATION
Ooops.
Does not affect batch mode javac, but can affect downstream clients (such as NetBeans) that set the compilePolicy beyond the default value.
30-06-2011
SUGGESTED FIX
Add the following method to PostAttrAnalyzer
@Override
public void visitAssignop(JCAssignOp that) {
if (that.operator == null)
that.operator = new OperatorSymbol(names.empty, syms.unknownType, -1, syms.noSymbol);
super.visitAssignop(that);
}