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 182360 - Package renaming wrongly updates subpackages in imports
Summary: Package renaming wrongly updates subpackages in imports
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-03-19 11:15 UTC by Alexandr Scherbatiy
Modified: 2010-03-26 10:17 UTC (History)
1 user (show)

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-19 11:15:16 UTC
NetBeans-JavaFX-Soma:  #190

  Product Version         = NetBeans IDE Dev (Build 201003180200) (#b6d5e694ca8b)
  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

deps-jar:
MultiDim\src\mathematics\multidimensional\shape\MDCustomShape.fx:8: package mathematics.multidimensional2.shape does not exist
import mathematics.multidimensional2.shape.MDShape;
MultiDim\src\mathematics\multidimensional\shape\MDPlotter.fx:14: cannot find symbol
symbol  : class MDSet
location: package mathematics.multidimensional
import mathematics.multidimensional.MDSet;
MultiDim\src\mathematics\multidimensional\shape\MDPlotter.fx:15: cannot find symbol
symbol  : class IMDTransform
location: package mathematics.multidimensional
import mathematics.multidimensional.IMDTransform;
Comment 1 J Bachorik 2010-03-19 13:54:25 UTC
*** Bug 182368 has been marked as a duplicate of this bug. ***
Comment 2 J Bachorik 2010-03-19 14:20:49 UTC
fixed in http://hg.netbeans.org/javafx/rev/9d70da2587d9 (the same root cause as #182365)
Comment 3 Alexandr Scherbatiy 2010-03-22 15:05:19 UTC
Still see the errors after the package refactoring 
in the NetBeans-JavaFX-Soma:  #193 (Mar 22, 2010 12:01:00 AM)

deps-jar:
MultiDim\src\mathematics\multidimensional\dim2\VectorDim2.fx:15: cannot find symbol
symbol  : class MDVector
location: class mathematics.multidimensional.dim2.VectorDim2
public class VectorDim2 extends MDVector{
MultiDim\src\mathematics\multidimensional\dim3\VectorDim3.fx:15: cannot find symbol
symbol  : class MDVector
location: class mathematics.multidimensional.dim3.VectorDim3
public class VectorDim3 extends MDVector{
MultiDim\src\mathematics\multidimensional\shape\MDCustomShape.fx:8: package mathematics.multidimensional2.shape does not exist
import mathematics.multidimensional2.shape.MDShape;
Comment 4 J Bachorik 2010-03-23 10:29:03 UTC
Fixed http://hg.netbeans.org/javafx/rev/8221677f76db
Comment 5 Alexandr Scherbatiy 2010-03-26 10:17:28 UTC
verified in NetBeans-JavaFX-Soma: #197