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: | [69cat] rename on masterfs is broken | ||
---|---|---|---|
Product: | platform | Reporter: | mgoe <mgoe> |
Component: | Filesystems | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | elotter, fsoares, host, petermount, tboudreau |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 170143 |
Attachments: |
stacktrace
stacktrace |
Description
mgoe
2010-05-26 13:26:24 UTC
Created attachment 99493 [details]
stacktrace
Duplicate FileObjects. Created attachment 99726 [details]
stacktrace
Refactor/renamed Sha1StreamWrapper to SHA1StreamWrapper on Mac OS case-preserving-but-insensitive filesystem. Java infrastructure is returning handles created for Sha1StreamWrapper which is not the same FileObject.
This happens on Mac OS (filesystem is case-preserving but case-insensitive), if you rename a class to the same name with different case. I just reproduced it by renaming a class called Sha1StreamWrapper to SHA1StreamWrapper. This results in two FileObjects, but the Java parsing infrastructure returns TreePathHandles for the old Sha1StreamWrapper which is not the same FileObject. I'll add that the default filesystem on OSX preserves case but is case insensitive, however OSX does have an option for the filesystem to be case sensitive. Just a warning for those who can't reproduce this bug because they are using the latter. *** This bug has been marked as a duplicate of bug 184854 *** |