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 - Utilities.isWindows is a poor way to test for case-insensitive filenames
Summary: Utilities.isWindows is a poor way to test for case-insensitive filenames
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Other OpenVMS
: P4 normal (vote)
Assignee: issues@platform
Keywords: API
Depends on:
Blocks: 17142
  Show dependency tree
Reported: 2000-12-01 16:55 UTC by Jesse Glick
Modified: 2010-04-01 14:42 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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
Comment 1 Jaroslav Tulach 2001-02-05 14:29:59 UTC
Add something like Utilities.isCaseSensitiveFileSystem () - or find out better
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.