Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 178593

Summary: Refactoring does not rename attribute in object literals in some cases
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED QA Contact: issues <>
Priority: P2 CC: sustaining
Version: 6.x   
Target Milestone: 6.x   
Hardware: PC   
OS: Windows XP   
Whiteboard: 68patch1-verified
Issue Type: DEFECT Exception Report:
Bug Depends on: 179870    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2009-12-14 06:56:07 UTC
NetBeans-JavaFX-Soma: #65

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200)
  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 in the IDE

- Open the mathematics.multidimensional.shape.MDShape class
- Refactor->Rename the 'dim' attribute to 'dim2'

mathematics\multidimensional\MDVector.fx:13: warning: Forward reference: variable dim might not have been initialized.
    public var metric:IMDSquareTransform = MDIdentity{ dim: dim };

mathematics\multidimensional\shape\MDSphere.fx:68: cannot find symbol
symbol  : variable dim
location: class mathematics.multidimensional.shape.MDSphere
        for(angle in MDSet.set(-PI, PI, N, dim -1)){

samples\mathematics\shape\HyperCube.fx:28: cannot find symbol
symbol  : variable dim
location: class mathematics.multidimensional.shape.MDCube
            shapes: [ MDCube{ dim: dim  side: 50} ]

samples\mathematics\shape\HyperSphere.fx:26: cannot find symbol
symbol  : variable dim
location: class mathematics.multidimensional.shape.MDSphere
            shapes: [ MDSphere{ dim: dim  radius: 150 fragmentation: 8} ]
3 errors
Comment 1 J Bachorik 2009-12-15 05:01:54 UTC
This is weird. It seems as if the IDE you are using is rather outdated. Please, make sure that the build contains changeset
When I try to reproduce the problem on the trunk build everything works as expected.
Comment 3 Alexandr Scherbatiy 2010-01-12 07:13:51 UTC
verified in NetBeans-JavaFX-Soma: #93
Comment 4 rbalada 2010-01-21 03:27:24 UTC
The changeset has been ported into branch release68_fixes as
Comment 5 Alexandr Scherbatiy 2010-01-26 06:42:55 UTC
Blocked by regression issue 179870
Comment 6 Alexandr Scherbatiy 2010-01-28 04:00:10 UTC
Verified in NB 6.8 Patch1 2010-01-28_00-36-51
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo