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: | NetBeans doens't count Mac's file system as case-independent | ||
---|---|---|---|
Product: | platform | Reporter: | Sergey Grinev <sergius> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | juhrik |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Nb Project to illustrate issue |
Description
Sergey Grinev
2007-10-08 14:54:06 UTC
Created attachment 50394 [details]
Nb Project to illustrate issue
edit: menu item name is File->IZ118108 code: String path = System.getProperty("java.io.tmpdir") + File.separator + "file."; File f1 = new File(path + "h"); f1.createNewFile(); FileObject fo1 = FileUtil.toFileObject(f1); DataObject.find(fo1).getCookie(OpenCookie.class).open(); DataObject.find(FileUtil.findBrother(fo1, "H")).getCookie(OpenCookie.class).open(); JDK bug, I think. java.io.File.equals should probably return true for files xyz.h and xyz.H. Current impl. of java.io.File return that both files are different and moreover that both exists -> then FS impl. return both instances for two different, existing files. Jara, please report this Mac JDK bug. I have filed bug to Apple, its number is #5530057. |