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 72120 - Review usage of String.toUpperCase/toLowerCase
Summary: Review usage of String.toUpperCase/toLowerCase
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 14:12 UTC by mslama
Modified: 2016-09-20 06:21 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2006-02-01 14:12:11 UTC
Methods String.toUpperCase/toLowerCase are locale sensitive. It can fail on some
locales eg. Turkish locale where there is unexpected behavior with dot i and
dotless i. Version toUpperCase(Locale.ENGLISH) or
toUpperCase(Locale.getDefault()) should be used to make explicitly clear if
locale sensitive or insensitive variant is used. This is umbrela issue. I will
grep whole code base and file separate issues for modules.
Comment 1 Jesse Glick 2006-02-01 15:49:42 UTC
You can file all the issues for modules you want, but don't expect anyone to
actually fix them promptly. Generally better to fix it yourself when the fix is
clearly correct, and reserve filing issues for cases when you cannot understand
the code well enough to really know what is correct.
Comment 2 Antonin Nebuzelsky 2009-07-24 13:31:30 UTC
Not a bug, changing to task.