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.
Summary: | Moving file to another package does not update imports | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Unsupported | Assignee: | J Bachorik <yardus> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexandr Scherbatiy
2009-11-16 06:26:18 UTC
Fixed in trunk - http://hg.netbeans.org/javafx/rev/62f2a6f45e43 Please verify on trunk builds. Due to significant amount of code changed between FCS and a fix for issue 179218, I've ported a bugfix for this issue to branch release68_fixes too. http://hg.netbeans.org/javafx/rev/4a484aa724db Verified in netbeans-6.8-201001241915-javafx-full.zip from /builds/netbeans/6.8/fixes NetBeans-JavaFX-Soma: #126 Now I see the following behavior: - Create a JavaFX project with the main File - Create 'A' JavaFX class under the existed package: ---------------------------------------------- package javafxapplication14; public class A { } ---------------------------------------------- - Create 'B' JavaFX class under the existed package: package javafxapplication14; public class B { public var a:A; } ---------------------------------------------- - Create 'b' package - Move the 'B' class to the 'b' package The result is: ---------------------------------------------- package b; public class B { import javafxapplication14.A; public var a:A; } ---------------------------------------------- JavaFXApplication14\src\b\B.fx:4: There is a garbled class member definition starting here, I have tried to ignore it. Class members can be 'var', 'def', 'function', 'init' or 'postinit' only. import javafxapplication14.A; 1 error I can not reproduce it as of time of changeset http://hg.netbeans.org/javafx/rev/aeedcd8eec48 Verified in NetBeans-JavaFX-Soma: #140 Create a separate issue 180134 for the incorrect import inserting. |