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.
Product Version = NetBeans IDE 6.9 (Build 201006041701) (#907f98fc0a33) 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: - Create Tower JavaFX class ---------- Tower.fx ----------- public class Tower { } ------------------------------ - Create A JavaFX class ---------- A.fx ----------- public class A{ var t:Tower; } ------------------------------ - Refactor -> Rename the 't' variable to 'tower' in the A class Cannot rename. Class tower already exists in folder JavaFXApplication19/src/javafxapplication19.
Could you provide a project reproducing this problem. I am not able to hit this error by following the provided steps (build 201006130001)
It is reproduced as described in the NetBeans IDE Dev (Build 201006150001) See the attached screenshot.
Created attachment 100082 [details] IDE screenshot
Ok. I've found it. On Linux it is necessary to rename the variable to "Tower" since the filesystem is case sensitive. Fixed in http://hg.netbeans.org/javafx/rev/1d3c77b18875
verified in 201006180001
Verified with NetBeans IDE 6.9.1 Dev (Build 201007052301)