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 184353 - Unable to rename local class extending another local class
Summary: Unable to rename local class extending another local class
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-04-16 12:44 UTC by Alexandr Scherbatiy
Modified: 2010-04-20 08:49 UTC (History)
0 users

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-04-16 12:44:06 UTC
NetBeans-JavaFX-Soma: #221

  Product Version         = NetBeans IDE Dev (Build 201004140201)
(#ad38c7be819e)
  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:

- Copy the code to the editor:
----------------------------------
class A{};

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

- Select the B class and invoke Refactor->Rename

The Rename dialog for the A class appears.
The dialog renames the A class instead of B.
Comment 1 J Bachorik 2010-04-19 08:09:04 UTC
fixed in http://hg.netbeans.org/javafx/rev/b984a5d3f737
Comment 2 Alexandr Scherbatiy 2010-04-20 08:49:10 UTC
verified in NetBeans-JavaFX-Soma: #227