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 - Class moving does not update import-on-demand declaration
Summary: Class moving does not update import-on-demand declaration
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-02-10 06:30 UTC by Alexandr Scherbatiy
Modified: 2010-03-09 06:45 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 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