ResultFormatTest.latex* tests fail on Windows when russian locale is default.
aleksey.shipilev at oracle.com
Mon Jan 12 10:35:16 UTC 2015
On 01/10/2015 01:59 AM, Vladimir Ozerov wrote:
> Tests fail because RU locale use "," as a decimal separator while test
> expects it to be ".".
Thanks, here is a bug:
And here is a committed fix:
> This could be easily fixed by setting "en-US" locale as default and then
> reverting it back in either try-finally blocks or JUnit @Before/@After
Well, the issue here is two-fold: first, golden files for LaTeX are only
valid in a single locale; second, other result formatters are
disregarding the locale settings anyway. Therefore, the quickest fix is
make LaTeX RF to disregard the locale as well.
We would need to figure out the RF locales as a follow-up:
More information about the jmh-dev