On Fri, 29 Jul 2022 23:27:53 GMT, Naoto Sato <[email protected]> wrote:
>> This PR is to propose supporting the `T` extension to the BCP 47 to which
>> `java.util.Locale` class conforms. There are two extensions to the BCP 47,
>> one is `Unicode Locale Extension` which has been supported since JDK7, the
>> other is this `Transformed Content` extension. A CSR has also been drafted.
>
> Naoto Sato has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Parse invalid fields correctly
test/jdk/java/util/Locale/bcp47/TExtensionTests.java line 190:
> 188: } catch (IllformedLocaleException ile) {
> 189: // success
> 190: System.out.println("IllformedLocaleException thrown
> correctly: " + ile.getMessage());
Could use assertThrows, but ok if you want to keep it this way.
-------------
PR: https://git.openjdk.org/jdk/pull/9620