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 182054 - Package renaming does not properly updates imports
Summary: Package renaming does not properly updates imports
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 173077
  Show dependency tree
 
Reported: 2010-03-15 15:24 UTC by Alexandr Scherbatiy
Modified: 2010-03-19 11:17 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-03-15 15:24:54 UTC
NetBeans-JavaFX-Soma: #185

  Product Version         = NetBeans IDE Dev (Build 201003140200) (#b26437e75910)
  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:

- Open the attached project:
http://netbeans.org/bugzilla/attachment.cgi?id=95034

- Refactor->Rename the mathematics.multidimensional package to 
  mathematics.multidimensional2

- Clean and build the project


MultiDim\src\mathematics\equation\LinearEquationSystem.fx:9: package mathematics.multidimensional222 does not exist
import mathematics.multidimensional222.MDSquareMatrix;
MultiDim\src\mathematics\equation\LinearEquationSystem.fx:11: package mathematics.multidimensional222 does not exist
import mathematics.multidimensional222.MDVector;
MultiDim\src\mathematics\multidimensional\dim1\ParametrizedSetDim1.fx:9: package mathematics.multidimensional22 does not exist
import mathematics.multidimensional22.*;
MultiDim\src\mathematics\multidimensional\dim1\ParametrizedSetDim1.fx:15: cannot find symbol
symbol  : class MDSet
location: class mathematics.multidimensional.dim1.ParametrizedSetDim1
public class ParametrizedSetDim1 extends MDSet{
Comment 1 J Bachorik 2010-03-17 14:03:14 UTC
Transferring fixes from move refactoring and fixing this issue in http://hg.netbeans.org/javafx/rev/b5b23e1190af
Comment 2 Alexandr Scherbatiy 2010-03-19 11:17:07 UTC
verified in NetBeans-JavaFX-Soma:  #190

However there is one more problem. 
See issue 182360  Package renaming wrongly updates subpackages in imports