On Tue, 15 Nov 2022 23:05:04 GMT, Christoph Langer <[email protected]> wrote:
> 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.
Thanks for reporting the bug and providing the fix. The fix looks simple and
clean. We need to specify which locale is used by the `{@value}` tag when it
formats the value, in "Documentation Comment Specification for the Standard
Doclet".
-------------
PR: https://git.openjdk.org/jdk/pull/11177