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 - Renaming local class changes the file name
Summary: Renaming local class changes the file name
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2010-04-20 08:46 UTC by Alexandr Scherbatiy
Modified: 2010-05-17 09:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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:


- 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

- 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
Comment 2 Alexandr Scherbatiy 2010-05-17 09:05:29 UTC
verified in NetBeans-JavaFX-Soma: #253