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 254623 - [81cat] Error mark after undo refactoring.
Summary: [81cat] Error mark after undo refactoring.
Status: RESOLVED DUPLICATE of bug 241466
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-23 07:19 UTC by -Silver-
Modified: 2015-08-24 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (61.64 KB, text/plain)
2015-08-23 07:19 UTC, -Silver-
Details
<no description> (64.47 KB, image/png)
2015-08-23 07:21 UTC, -Silver-
Details

Note You need to log in before you can comment on or make changes to this bug.
Description -Silver- 2015-08-23 07:19:37 UTC
Product Version = NetBeans IDE Dev (Build 201508220002)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Test: http://services.netbeans.org/synergy/client/app/#/assignment/1495/v/1
Java Refactoring Sanity Test
Class I.

Steps:
1    In projects view open package rename, right click ClassA.java and from popup menu select Refactor > Rename...
2    Type new name e.g "RenamedClassA"
3    Press Preview
4    Press Do Refactoring
5    Press Undo 

Issue at step 5.
1. Push CTRL + Z to undo. -> A confirm dialog appears asking if I want to undo the rename.
2. Select Yes -> The undo is executed but the editor mark the class as "With error" (See attachment). The square icon on the right is green and there are not errors.
Comment 1 -Silver- 2015-08-23 07:19:43 UTC
Created attachment 155556 [details]
IDE log
Comment 2 -Silver- 2015-08-23 07:21:04 UTC
Created attachment 155557 [details]
<no description>
Comment 3 Jiri Prox 2015-08-24 12:21:23 UTC

*** This bug has been marked as a duplicate of bug 241466 ***