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 241466 - rename Interface from a class which implements it
Summary: rename Interface from a class which implements it
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 241952 253931 254623 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-05 23:50 UTC by lforet
Modified: 2016-07-07 07:18 UTC (History)
3 users (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 lforet 2014-02-05 23:50:24 UTC
If I rename an interface in a class which implements it, it works fine but if i undo the renaming by ctl+z from the class file , I see an error badge appear. I have to touch the file and save it again to make it disappear.
Comment 1 Ralph Ruijs 2014-02-06 08:42:03 UTC
Undo'ing a refactoring from the editor is currently implemented this way in the editor and there is no way to workaround it from the refactoring engine. Undo from any other context should work fine.
Comment 2 Jiri Prox 2014-02-17 06:58:15 UTC
*** Bug 241952 has been marked as a duplicate of this bug. ***
Comment 3 Jiri Prox 2015-08-13 07:41:49 UTC
*** Bug 253931 has been marked as a duplicate of this bug. ***
Comment 4 stwr 2015-08-17 16:38:30 UTC
It is still reproducible in the latest 8.1 Beta and this is really annoying. Each Undo/Redo forces user to save the file and this should happen automatically because refactoring does it.

Product Version: NetBeans IDE Dev (Build 201508170002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb)
Comment 5 stwr 2015-08-17 16:42:06 UTC
Issue does not occur when Undoing refactoring in scope of one java source. It could be that the problem relates only when refactoring modifies more than one java source.
Comment 6 Jiri Prox 2015-08-24 12:21:23 UTC
*** Bug 254623 has been marked as a duplicate of this bug. ***
Comment 7 Martin Balin 2016-07-07 07:18:00 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss