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 242314 - [Extract Interface] Logical View - incorrect tree view
Summary: [Extract Interface] Logical View - incorrect tree view
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-25 10:52 UTC by ssazonov
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Step_01 (84.40 KB, image/png)
2014-02-25 10:53 UTC, ssazonov
Details
Step_02 (95.88 KB, image/png)
2014-02-25 10:53 UTC, ssazonov
Details
Step_03 (99.59 KB, image/png)
2014-02-25 10:53 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2014-02-25 10:52:50 UTC
1. Create java class:

package test;

public class Test {

    public void method() {
        System.out.println("abcd");
    }
}

3. Close all tabs in Preview

3. Refactor > Extract Interface..., select method() and press Preview (see img Step_01)

4. Refactor > Extract Superclass..., select method() and press Preview (see img Step_02)

5. Refactor > Extract Interface..., select method() and press Preview (see img Step_03)

>> Logical View at Step_01 and Step_03 should be same

Product Version: NetBeans IDE 8.0 RC1 (Build 201402242200)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2014-02-25 10:53:22 UTC
Created attachment 145564 [details]
Step_01
Comment 2 ssazonov 2014-02-25 10:53:33 UTC
Created attachment 145565 [details]
Step_02
Comment 3 ssazonov 2014-02-25 10:53:51 UTC
Created attachment 145566 [details]
Step_03
Comment 4 Martin Balin 2016-07-07 07:17:30 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