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 255057 - Cannot push down element from class containing interface
Summary: Cannot push down element from class containing interface
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
Depends on:
Reported: 2015-09-07 13:08 UTC by Jiri Prox
Modified: 2015-09-07 13:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2015-09-07 13:08:30 UTC
The Push down refactoring always shows warning when pushing from class containing interface

Steps to reproduce:
1) have a class

public class SuperBaseClass  {
    int aaa;
    interface InnerInterface {

2) have class SubClas extending SuperBaseClass
3) call push down on aaa

-> warning 'aaa already exists in SuperBaseClass.' is shown

Product Version: NetBeans IDE Dev (Build 201509070002)
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.19.0-15-generic running on amd64; UTF-8; en_US (nb)
User directory: /home/tester/.netbeans/dev
Cache directory: /home/tester/.cache/netbeans/dev