Bug 72120 - Review usage of String.toUpperCase/toLowerCase
Review usage of String.toUpperCase/toLowerCase
Status: NEW
Product: platform
Classification: Unclassified
Component: -- Other --
5.x
All All
: P3 (vote)
: TBD
Assigned To: issues@platform
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-01 14:12 UTC by mslama
Modified: 2009-07-24 13:31 UTC (History)
0 users

See Also:
Issue Type: TASK
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo