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.
Build: NetBeans IDE Dev (Build 200910010513) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Windows XP, 5.1, x86 Steps to reproduce: - Copy the code to the editor: ------------------------------------------ class A{ var a:A; } class B extends A{ override var a = A{}; } ------------------------------------------ - Refactor->Rename the A class to D The result is: ------------------------------------------ class D{ var a:D; } class B extends D{ override var a = A{}; } ------------------------------------------ Main.fx:14: cannot find symbol symbol : class A location: class javafxapplication9.Main.B override var a = A{}; 1 error
This is caused by the fact that javafx compiler doesn't generate InstantiateTree within the initialization block of an overriden var (as opposed to the non-overriden var). Filed as http://javafx-jira.kenai.com/browse/JFXC-3523
marking as dependent on a resolution of the related javafxc issue
fixed by using updated compiler binaries - http://hg.netbeans.org/javafx/rev/b3afe707e460
verified in Build 200911170201