<i18n dev> Integrated: 8313307: java/util/Formatter/Padding.java fails on some Locales

Aleksey Shipilev shade at openjdk.org
Mon Jul 31 08:37:59 UTC 2023


On Fri, 28 Jul 2023 08:49:20 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Fails like this:
> 
> 
> $ CONF=macosx-aarch64-server-fastdebug make images test TEST=java/util/Formatter/Padding.java
> 
> ...
> STARTED Padding::padding '[216] -0000001.2, % 010.1f, -1.2'
> org.opentest4j.AssertionFailedError: expected: <-0000001.2> but was: <-0000001,2>
> 
> 
> Looks like a locale problem in test, so the simplest fix is to ask for a neutral Locale there.

This pull request has now been integrated.

Changeset: 408987e1
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/408987e1ca9a42db8019b1bd7e52f85607975dde
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8313307: java/util/Formatter/Padding.java fails on some Locales

Reviewed-by: jlu, naoto

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

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


More information about the i18n-dev mailing list