RFR: 8289227: Support for BCP 47 Extension T - Transformed Content [v5]
Joe Wang
joehw at openjdk.org
Sat Jul 30 01:43:46 UTC 2022
On Fri, 29 Jul 2022 23:27:53 GMT, Naoto Sato <naoto at openjdk.org> 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
More information about the core-libs-dev
mailing list