RFR: 8297091: New langtools test jdk/javadoc/doclet/testValueTag/TestValueFormats.java fails on machines with unexpected number format

Christoph Langer clanger at openjdk.org
Tue Nov 15 23:26:13 UTC 2022


The new test langtools/jdk/javadoc/doclet/testValueTag/TestValueFormats.java assumes a number format with a decimal separator dot (.). This can be different in other locales.

This fixes the issue by expecting a number format that is calculated at runtime, with the locale settings the test runs in. Not sure if it is the correct way to fix, though.

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

Commit messages:
 - Testfix for TestValueFormats

Changes: https://git.openjdk.org/jdk/pull/11177/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11177&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297091
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11177.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11177/head:pull/11177

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


More information about the javadoc-dev mailing list