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.
Summary: | Calling WorkingCopy.toPhase() after WorkingCopy.rewrite() clears the modifications | ||
---|---|---|---|
Product: | java | Reporter: | Andrei Badea <abadea> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test |
Description
Andrei Badea
2006-11-08 11:21:15 UTC
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. |