<i18n dev> RFR: 8313307: java/util/Formatter/Padding.java fails on some Locales [v2]

Aleksey Shipilev shade at openjdk.org
Fri Jul 28 17:13:54 UTC 2023


> 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.

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Change to Locale.US

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15066/files
  - new: https://git.openjdk.org/jdk/pull/15066/files/97084428..eaca173c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15066&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15066&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15066.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15066/head:pull/15066

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


More information about the i18n-dev mailing list