<i18n dev> RFR: 8303440: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id [v2]

Jaikiran Pai jpai at openjdk.org
Sat Mar 4 05:00:13 UTC 2023


On Sat, 4 Mar 2023 02:18:37 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> test/jdk/java/time/test/java/time/format/TestUTCParse.java line 48:
>> 
>>> 46:         // Assuming CLDR's SHORT name for "America/Los_Angeles"
>>> 47:         // produces "UTC\u212208:00"
>>> 48:         System.setProperty("java.locale.providers", "CLDR");
>> 
>> Since this updates a system property (that's recognized by code even outside of this test), perhaps we should use `@run testng/othervm` to prevent interfering with other tests?
>
> And the `TEST.properties` directs tests to be run under `othervm` mode.

Thank you Naoto for that detail, I wasn't aware of it.

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

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


More information about the i18n-dev mailing list