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 - [regression] Refactoring Undo doesn't work
Summary: [regression] Refactoring Undo doesn't work
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-10-22 11:06 UTC by Vladimir Voskresensky
Modified: 2012-10-24 08:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).