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

Summary: Review usage of String.toUpperCase/toLowerCase
Product: platform Reporter: mslama <mslama>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: moueza
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

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.