On Wed, 23 Feb 2022 00:05:58 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> 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 > cleaned before, but there are a few new introduced laterly. > > See https://www.ivi.co/java/2011/07/07/4878.html for examples. This pull request has now been integrated. Changeset: 340a35d8 Author: Xue-Lei Andrew Fan <xue...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/340a35d8358456620954ae0c668cf3d1d617bb88 Stats: 18 lines in 5 files changed: 5 ins; 0 del; 13 mod 8282279: Interpret case-insensitive string locale independently Reviewed-by: weijun ------------- PR: https://git.openjdk.java.net/jdk/pull/7583