<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 15/04/2023 13:39, Glavo wrote:<br>
<blockquote type="cite" cite="mid:CAJL5A3kNp5FoDf5Py7dQ=+oYtfw32FxFyzaWxsYyRJB9EgPr0Q@mail.gmail.com">
<div dir="ltr">:<br>
<div><br>
</div>
<div>I've detailed the reasons for introducing a new API
earlier, and I hope you'll take a look at it:<br>
</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><a href="https://mail.openjdk.org/pipermail/core-libs-dev/2023-April/104118.html" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://mail.openjdk.org/pipermail/core-libs-dev/2023-April/104118.html</a></div>
</blockquote>
<br>
</div>
</blockquote>
There's a lot more thinking required before considering adding new
APIs like this. It requires thinking about new developers writing
toy programs that could easily be confused by two methods that
appear to do the same thing. Also needs taking a broader view on how
it works with other locale sensitive APIs.<br>
<br>
In your list, auditing the usages in the JDK to identify usages
where it should be using Locale.ROOT instead of Locale.getDefault
would be helpful.<br>
<br>
-Alan.<br>
</body>
</html>