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

Summary: Package renaming does not properly updates imports
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

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