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 180130 - Package renaming does not always update imports
Summary: Package renaming does not always update 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-02-02 02:49 UTC by Alexandr Scherbatiy
Modified: 2010-02-10 02:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JavaFX project (117.02 KB, application/zip)
2010-02-02 02:50 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-02-02 02:49:46 UTC
Steps to reproduce:

- Open the attached project
- Build it 
BUILD SUCCESSFUL

- Refactor->Rename the 'mathematics.multidimensional.shape' package to
'mathematics.multidimensional.shape2'

- Clean and build the project


init:
deps-jar:
MultiDim\src\mathematics\multidimensional\shape2\MDCustomShape.fx:8: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDShape;
MultiDim\src\physics\relativity\InertialObserver.fx:10: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDShape;
MultiDim\src\physics\relativity\InertialObserver.fx:11: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDGroup;
MultiDim\src\physics\relativity\InertialObserver.fx:12: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDCustomShape;
MultiDim\src\physics\relativity\InertialObserver.fx:22: cannot find symbol
symbol  : class MDCustomShape
location: class physics.relativity.InertialObserver
public class InertialObserver extends MDCustomShape {
MultiDim\src\physics\relativity\RelativityEvent.fx:11: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDShape;
MultiDim\src\physics\relativity\RelativityEvent.fx:13: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDPoint;
MultiDim\src\physics\relativity\RelativityEvent.fx:14: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDText;
MultiDim\src\physics\relativity\RelativitySegment.fx:9: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDCustomShape;
MultiDim\src\physics\relativity\RelativitySegment.fx:10: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDSegment;
MultiDim\src\physics\relativity\RelativitySegment.fx:11: package mathematics.multidimensional.shape does not exist
import mathematics.multidimensional.shape.MDPoint;
MultiDim\src\physics\relativity\RelativitySegment.fx:17: cannot find symbol

51 errors
Comment 1 Alexandr Scherbatiy 2010-02-02 02:50:58 UTC
Created attachment 93747 [details]
JavaFX project
Comment 2 Alexandr Scherbatiy 2010-02-02 02:51:51 UTC
NetBeans-JavaFX-Soma: #140

  Product Version         = NetBeans IDE Dev (Build 201001280200)
(#eeef33500a1a)
  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.
Comment 3 J Bachorik 2010-02-09 07:40:03 UTC
fixed by http://hg.netbeans.org/javafx/rev/09970d9491d3
Comment 4 Alexandr Scherbatiy 2010-02-10 02:04:44 UTC
verified in NetBeans-JavaFX-Soma: #148