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 180548 - Class moving does not update the static import
Summary: Class moving does not update the static import
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 07:14 UTC by Alexandr Scherbatiy
Modified: 2010-03-09 06:52 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 07:14:30 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 'pack' package
- Create 'M' JavaFX file under the package
-------------------------------------------
package pack;

public function sqr(x:Number) { x * x};
-------------------------------------------

- Create 'Main' JavaFX file under the package
-------------------------------------------
import pack.M.*;

var a = sqr(3);
-------------------------------------------

- Refactor->Move the 'M' file to 'pack2' package
- Clean and build the project


JavaFXApplication23\src\pack\Main.fx:10: package pack.M does not exist
import pack.M.*;

JavaFXApplication23\src\pack\Main.fx:13: cannot find symbol
symbol  : function sqr(Integer)
location: class pack.Main
var a = sqr(3);
2 errors
Comment 1 J Bachorik 2010-03-05 08:00:05 UTC
fixed http://hg.netbeans.org/javafx/rev/ac815b1f47cd
Comment 2 Alexandr Scherbatiy 2010-03-09 06:52:30 UTC
verified in NetBeans-JavaFX-Soma:  #179