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 182866 - Class Renaming breaks subclass name
Summary: Class Renaming breaks subclass name
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-03-26 10:29 UTC by Alexandr Scherbatiy
Modified: 2010-03-29 10:59 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-03-26 10:29:28 UTC
Steps to reproduce:

NetBeans-JavaFX-Soma:  #197

  Product Version         = NetBeans IDE Dev (Build 201003250201) (#3a55098ae0b2)
  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.


- Copy the code to the editor:
----------------------------------------------
class MyClass{
    public function f() {}
}


class MyClassE extends MyClass{

}


MyClassE{}.f();
----------------------------------------------

- Refactor->Rename the MyClass to MyClass2
- Clean and build the project

MyClass2.fx:18: cannot find symbol
symbol  : class MyClassE
location: class javafxapplication1.MyClass2
MyClassE{}.f();
1 error
Comment 1 J Bachorik 2010-03-26 13:07:29 UTC
fixed in http://hg.netbeans.org/javafx/rev/e8dd71b3ae52
Comment 2 Alexandr Scherbatiy 2010-03-29 10:59:58 UTC
verified in NetBeans-JavaFX-Soma: #200