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.

Bug 220561

Summary: [regression] Refactoring Undo doesn't work
Product: platform Reporter: Vladimir Voskresensky <vv159170>
Component: TextAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: normal CC: jbecicka
Priority: P1 Keywords: REGRESSION
Version: 7.3   
Hardware: All   
OS: All   
See Also: http://netbeans.org/bugzilla/show_bug.cgi?id=220381
Issue Type: DEFECT Exception Reporter:

Description Vladimir Voskresensky 2012-10-22 11:06:45 UTC
rename class used in two files.
Press Undo and agree to revert refactoring => only changes in current files are reverted. Other file is left non-reverted.
The problem is in Java and C++ projects => most probably in general infrastructure
Comment 1 Ralph Ruijs 2012-10-22 12:47:40 UTC
Seems to be related to #220381, the FileObjects are locked.

BackupFacility2.java:521
Comment 2 Miloslav Metelka 2012-10-24 08:20:41 UTC
Locks are now released properly so the refactoring appears to work but there's still a problem that the file is not unmarked as modified. I'll fix it.
Comment 3 Miloslav Metelka 2012-10-24 08:56:36 UTC
The current file is not unmarked as modified even in older builds so it's likely a feature. So marking as fixed (effect of issue #220474 fix).