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 268718 - Moving an Enum with package visibility does not work
Summary: Moving an Enum with package visibility does not work
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 15:28 UTC by jslaroch
Modified: 2016-10-27 15:32 UTC (History)
0 users

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 jslaroch 2016-10-27 15:28:53 UTC
If you have an enum that is package visible and you select the move refactoring you do not get any error message and after that refactoring does not work even if you change visibility to public.
Comment 1 jslaroch 2016-10-27 15:32:26 UTC
After restarting Netbeans I tried moving the enum (now public) again and I did not even get the move dialog box.
I tried moving an interface and then a class and both did trigger the move dialog box.
This really looks like an issue with enums.