When a parse error is found, javac's Parser replaces the partial tree it was building with an Erroneous tree. NetBeans needs those partial trees to improve its error reporting capabilities.
###@###.### 10/27/04 20:33 GMT
Comments
SUGGESTED FIX
In syntaxError, only create a new Erroneous tree if needed. Elsewhere, create new Erroneous trees with correct positions instead of sharing a single tree.
###@###.### 10/27/04 20:33 GMT