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.
Steps to reproduce: - Create 'A' JavaFX class: -------------- A.fx ------------- package javafxapplication7; public class A {} netbeans-trunk-nightly-201005122200-javafx-full-windows.exe Product Version = NetBeans IDE Dev (Build 201005122200) (#1719540f4497) 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. public class B{} ---------------------------------- - Create Main JavaFX file: -------------- Main.fx ------------- import javafxapplication7.A.B; var a = A{}; var b = B{}; ---------------------------------- - Select the B class in the Main file and rename it to B2 The import line is not updated. Main.fx:9: cannot find symbol symbol : static B location: class javafxapplication7.A import javafxapplication7.A.B; Main.fx:12: cannot find symbol symbol : class B2 location: class javafxapplication7.Main var b = B2{}; 2 errors
Sorry. More clear description. Steps to reproduce: - Create 'A' JavaFX class: -------------- A.fx ------------- package javafxapplication7; public class A {} public class B{} ---------------------------------- - Create Main JavaFX file: -------------- Main.fx ------------- import javafxapplication7.A.B; var a = A{}; var b = B{}; ---------------------------------- - Select the B class in the Main file and rename it to B2 The import line is not updated. Main.fx:9: cannot find symbol symbol : static B location: class javafxapplication7.A import javafxapplication7.A.B; Main.fx:12: cannot find symbol symbol : class B2 location: class javafxapplication7.Main var b = B2{}; 2 errors
netbeans-trunk-nightly-201005122200-javafx-full-windows.exe Product Version = NetBeans IDE Dev (Build 201005122200) (#1719540f4497) 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.
Empire strikes back :( The javafx compiler for whatever reason doesn't complete type information for the member select tree representing the type name of "refactoringissues.i186077.A.B" class inside the particular import (can be seen in the attached screenshot). It used to work, as far as I can remember. I will try to prepare a test for javafxc team and file issue there.
Created attachment 98944 [details] Missing type info for an inner class import
In case you would increase this issue priority, plz, make the corresponding change to the javafxc issue as well.
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.