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.
1. Create class "a" 2. Rename class "a" to "A" 3. Now I see 2 classes in Explorer: "a" and "A" instead of just "A" 4. try to delete class "A" -> both nodes (a,A) are deleted.
I was working on a similar fix for bug 192222 on Friday. The following commit shall make the behaviour better: e1169459c473 I have however problems to verify that on any Mac OSX or find out what is wrong. There is new "testCaseSensitiveFolderRename" it would be beneficial to know if it works or why it fails.
The root of the problem is that File.equals(..) and File.hashCode are case sensitive on MacOSX, while they shall be insensitive like on Windows.
ergonomics#e3f3dc49a2f9
*** Bug 192059 has been marked as a duplicate of this bug. ***
*** Bug 167513 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e3f3dc49a2f9 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #192637: Don't call File.equals and File.hashCode directly. Use Utils wrapper methods. They are modified to work properly on MacOSX and ignore the case of files. #192637 - Case sensitive renaming does not work on Mac OS X