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.
... as proved by the attached test.
Created attachment 35881 [details] Test
Fixed. Checking in test/unit/src/org/netbeans/api/java/source/WorkingCopyTest.java; /cvs/java/source/test/unit/src/org/netbeans/api/java/source/WorkingCopyTest.java,v <-- WorkingCopyTest.java initial revision: 1.1 done Checking in src/org/netbeans/api/java/source/WorkingCopy.java; /cvs/java/source/src/org/netbeans/api/java/source/WorkingCopy.java,v <-- WorkingCopy.java new revision: 1.15; previous revision: 1.14 done
I don't remember how I encountered this issue, so I can't test that scenario. But the test passes, so verified.