Integrated: JDK-8329118: Run MessageFormat additional subformat pattern tests under en_US locale

Justin Lu jlu at openjdk.org
Thu Mar 28 22:47:35 UTC 2024


On Tue, 26 Mar 2024 20:49:48 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which updates two MessageFormat sub format related tests to be guaranteed to run under the `en_US` locale.
> 
> There exists locale that do not provide distinct instances for separate styles. For example, the `en_IN` locale provides the same LONG and SHORT compact number instances. The test data is built to test sub formats under the assumption that different styles do provide distinct instances.
> 
> As this is the case, these tests should be ran under a locale that does provide distinct instances for separate styles.

This pull request has now been integrated.

Changeset: bf93e77e
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bf93e77e72ccce56685fd10dde83587c703a37b3
Stats:     18 lines in 2 files changed: 6 ins; 0 del; 12 mod

8329118: Run MessageFormat additional subformat pattern tests under en_US locale

Reviewed-by: naoto

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

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


More information about the core-libs-dev mailing list