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 184517

Summary: Renaming local class changes the file name
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2010-04-20 08:46:30 UTC
NetBeans-JavaFX-Soma: #227

  Product Version         = NetBeans IDE Dev (Build 201004190200) (#38937479e21f)
  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:

I)

- Create 'A' JavaFX class:
-----------   A.fx ------------------
class A{};

class B extends A{};
-------------------------------------

- Refactor->Rename the the B class to B2.

The file name is changed from A.fx to B2.fx

II)
- Create 'Main' JavaFX file:
-----------   Main.fx ------------------
class A{};
-------------------------------------

- Refactor->Rename the the A class to A2.

The Main file name is changed to A2
Comment 1 J Bachorik 2010-04-20 09:54:11 UTC
fixed http://hg.netbeans.org/javafx/rev/bf770e3790d8
Comment 2 Alexandr Scherbatiy 2010-05-17 09:05:29 UTC
verified in NetBeans-JavaFX-Soma: #253