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 255070 - Introduce local extension from interface is possible
Summary: Introduce local extension from interface is possible
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 21:12 UTC by Jiri Prox
Modified: 2015-09-07 21:12 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 Jiri Prox 2015-09-07 21:12:34 UTC
When calling introduce local extenstion in enum or annotation the error message says: The selected type must be a class (cannot perform this operation on an interface, enum or annotation type).

But it is possible to perform introduce local extenstion on interface. E.g. the refactoring is not blocked.



Product Version: NetBeans IDE Dev (Build 201509040002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 3.16.0-23-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/tester/.netbeans/dev
Cache directory: /home/tester/.cache/netbeans/dev