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.

Bug 8713

Summary: Utilities.isWindows is a poor way to test for case-insensitive filenames
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: normal CC: jtulach, mgarrison
Priority: P4 Keywords: API
Version: 3.x   
Hardware: Other   
OS: OpenVMS   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 17142    

Description Jesse Glick 2000-12-01 16:55:46 UTC
There should probably be additional methods in Utilities to explicitly check for
operating systems with case-insensitive filenames. isWindows() is called in
several places (e.g. org.openide.filesystems.*) to determine special behavior
that is affected by this characteristic. But if other OSs with the same
characteristic (OS/2, VMS, ...) are ever to be supported, this will not be
enough.
Comment 1 Jaroslav Tulach 2001-02-05 14:29:59 UTC
Add something like Utilities.isCaseSensitiveFileSystem () - or find out better
name.
Comment 2 Jan Chalupa 2001-03-12 12:08:06 UTC
Version: 'Dev' -> 3.2
Comment 3 Jan Chalupa 2001-05-06 08:12:54 UTC
Target milestone -> 3.3
Comment 4 _ ttran 2001-10-25 21:55:08 UTC
ENHANCEMENT for NB(OpenAPIs) 3.4 or NB 4.0
Comment 5 Jesse Glick 2001-10-26 11:04:30 UTC
Actually, adopting a suggestion from Evan:

- have a mapping somewhere in a util package from arbitrary names to
values (probably boolean values, thus "features")

- all such platform-specific hacks modified to check for a feature,
not a specific OS etc.

- the util package initially hardcodes a list of features computed
according to OS name, environment vars, etc.; eventually maybe this
could be driven by a config file for greatest flexibility
Comment 6 Jan Chalupa 2001-11-27 13:03:28 UTC
Target milestone -> 3.3.1.
Comment 7 Jaroslav Tulach 2002-02-08 10:19:09 UTC
Well, the method should be fileystems package. this is just filesystem
related stuff and especially LocalFileSystem related... I suggest
FileUtil.isCaseSensitive ()  and a property in LocalFileSystem to
change the behaviour (because even on linux I can use vfat).

Comment 8 Marek Grummich 2002-07-22 11:29:24 UTC
Set target milestone to TBD
Comment 9 Marek Grummich 2002-07-22 11:31:22 UTC
Set target milestone to TBD
Comment 10 Antonin Nebuzelsky 2008-04-15 17:18:38 UTC
Reassigning to new module owner jskrivanek.