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 180538

Summary: Class moving does not update import-on-demand declaration
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2010-02-10 06:30:28 UTC
NetBeans-JavaFX-Soma:  #148

  Product Version         = NetBeans IDE Dev (Build 201002080200) (#4d6aa72cca05)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.


Steps to reproduce:

- Create 'A' JavaFX class under 'a' package"
-----------------------------------------
package a;

public class A {
}
-----------------------------------------

- Create 'B' JavaFX class under 'b' package"
-----------------------------------------
package b;


import a.*;

public class B extends A{

}
-----------------------------------------

- Refactor->Move the 'A' class to 'c' package
- Build the project

JavaFXApplication22\src\b\B.fx:10: package a does not exist
import a.*;
1 error

-----------------------------------------
package b;

import a.*;
import c.A;

public class B extends A{

}
-----------------------------------------
Comment 1 J Bachorik 2010-03-05 07:59:47 UTC
fixed http://hg.netbeans.org/javafx/rev/ac815b1f47cd
Comment 2 Alexandr Scherbatiy 2010-03-09 06:45:14 UTC
Verified in NetBeans-JavaFX-Soma:  #179.

The described issue is fixed.
But there is one more issue 181679