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 180287

Summary: Abstract function refactoring does not update function invocation
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    
Attachments: Main JavaFX file

Description Alexandr Scherbatiy 2010-02-04 08:16:20 UTC
NetBeans-JavaFX-Soma: #142

  Product Version         = NetBeans IDE Dev (Build 201001280200)
(#eeef33500a1a)
  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 from the attached file to the editor
- Go to the ElectronicComponent class
- Refactor->Rename the simulate() function to simulate2
- Build the project:

Main.fx:340: cannot find symbol
symbol  : function simulate()
location: class javafxapplication6.Main.ElectroScheme
        action: function() { scheme.simulate(); }
1 error
Comment 1 Alexandr Scherbatiy 2010-02-04 08:16:47 UTC
Created attachment 93868 [details]
Main JavaFX file
Comment 2 J Bachorik 2010-02-05 09:35:39 UTC
Should be fixed by http://hg.netbeans.org/javafx/rev/e468b6acbb64
You will need to remove <userdir>/var/cache/index folder or use a clean user
dir to force index regeneration before verifying the fix.
Comment 3 Alexandr Scherbatiy 2010-02-08 04:22:37 UTC
verified in NetBeans-JavaFX-Soma: #146