RFR: 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base [v2]

Glavo duke at openjdk.org
Fri Jul 14 13:05:14 UTC 2023


On Fri, 14 Jul 2023 10:24:47 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> It might be that the conclusion is that it's just too risky to change, in which case Uwe's suggestion is good and would avoid it showing up on someone's else radar in the future.

Until we're sure we want to normalize a usage of `toLowerCase()` to one of `toLowerCase(Locale.ROOT)` or `toLowerCase(Locale.getDefault())`, I think it should be left here as-is, thus keeping it in an ambiguous state to remind us to continue discussing it in the future.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14763#discussion_r1263710911


More information about the security-dev mailing list