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 254767 - Test I.
Summary: Test I.
Status: RESOLVED DUPLICATE of bug 254448
Alias: None
Product: apisupport
Classification: Unclassified
Component: API docs (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 07:43 UTC by gokumar
Modified: 2015-09-02 14:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Empty Refactored ClassA.java in preview (41.06 KB, image/png)
2015-08-27 07:43 UTC, gokumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gokumar 2015-08-27 07:43:55 UTC
Created attachment 155680 [details]
Empty Refactored ClassA.java in preview

Link: http://services.netbeans.org/synergy/client/app/#/case/5149/suite/2030

Product Version: NetBeans IDE Dev (Build 201508240002)
Updates: Updates available
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1252; en_IN (nb)
User directory: C:\Users\GOKUMAR\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\GOKUMAR\AppData\Local\NetBeans\Cache\dev

1. Open inner_to_outer.ClassA.java class
2. Put caret into ClassB body
3. From main menu select Refactor > Move inner to outer level...
4. Set Class Name: MyClass, check "Declare Field for the Current Outer Class" and type new Field name: myField
5. Press "Preview" 

Expected Preview in "Refactored ClassA.java" section:

package inner_to_outer;

public class ClassA {

    public interface MyInterface {

        public void m1();
    }
}

Actual Preview in "Refactored ClassA.java" section:

<complete empty>

I have also attached the snapshot of this.

If I click on "Do Refactor", refactoring actually functions correctly.
Comment 1 -Silver- 2015-08-27 15:20:44 UTC
It seems a duplicate of 254448
Comment 2 Jiri Prox 2015-09-02 14:06:54 UTC

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