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

Christoph Langer clanger at openjdk.org
Thu Nov 17 22:14:30 UTC 2022


On Wed, 16 Nov 2022 17:03:33 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Generally, there are two ways to fix issues like this:
> 
> 1. force the locale to be as needed
> 2. accommodate the locale being used
> 
> 1 is simpler; 2 seems like a better solution.

Not sure I understand correctly - Option 1 would mean that a locale can be picked by some setting and Option 2 means the current behavior - use the system locale, right? But how would option 1 then be simpler than option 2, given that I perceive option 2 as current status quo? 😄 

However, with option 2, I guess my proposed testfix would be the right thing to do, correct?

> In general, we don't do a lot of testing in non-English locales. (Our bad.). Is this the only (javadoc?) test that fails?

I'm only aware of this one ATM.

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

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


More information about the javadoc-dev mailing list