On Wed, 23 Feb 2022 14:51:45 GMT, Roger Riggs wrote:
> Locale.ROOT is preferred for locale independent uppercase and lowercase().
Yes, as the Locale.English has been used a lot. It may worthy another
enhancement to use Locale.ROOT in a separate PR.
> BTW, for the strings written to the SSLLog
On Wed, 23 Feb 2022 00:05:58 GMT, Xue-Lei Andrew Fan wrote:
> The String.toUpperCase() or String.toLowerCase() method is locale sensitive,
> and may produce unexpected results if used for strings that are intended to
> be interpreted locale independently. The use of the two methods had been
>
On Wed, 23 Feb 2022 00:05:58 GMT, Xue-Lei Andrew Fan wrote:
> The String.toUpperCase() or String.toLowerCase() method is locale sensitive,
> and may produce unexpected results if used for strings that are intended to
> be interpreted locale independently. The use of the two methods had been
>
locale instead of ENGLISH?
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: security-dev im Auftrag von Xue-Lei
Andrew Fan
Gesendet: Wednesday, February 23, 2022 1:12:16 AM
An: security-dev@openjdk.java.net
Betreff: RFR: 8282279: Interpret case-insensitive string
The String.toUpperCase() or String.toLowerCase() method is locale sensitive,
and may produce unexpected results if used for strings that are intended to be
interpreted locale independently. The use of the two methods had been cleaned
before, but there are a few new introduced laterly.
See http