This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Try the following: 1. Load a good java code to the editor. 2. Enter some syntax bugs in it. 3. Close the document and don't save it (press discard). 4. Reload the document. You will see the same errors annotated.
This is probably bug in java module.
Set target milestone to TBD
*** This issue has been marked as a duplicate of 24343 ***