On Mon, 13 Oct 2025 20:55:45 GMT, Justin Lu <[email protected]> wrote:

> This PR corrects _test/jdk/java/util/Locale/LocaleEnhanceTest.java_, which 
> has two test cases under `testBuilderSetLanguageTag()` which accidentally 
> pass. One checks that Locale.setLanguageTag(String) throws ILE for duplicate 
> extensions and the other for duplicate U-extension keys. The test cases are 
> updated to actually test the provided code. When the test cases are fixed, 
> they now fail. They should instead be updated to check that the duplicates 
> are ignored.

This pull request has now been integrated.

Changeset: 1e5e17a1
Author:    Justin Lu <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/1e5e17a10a001c189f6ab19f61efca2d08cb0301
Stats:     654 lines in 1 file changed: 56 ins; 169 del; 429 mod

8369590: LocaleEnhanceTest has incorrectly passing test case

Reviewed-by: naoto

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

PR: https://git.openjdk.org/jdk/pull/27775

Reply via email to