You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DeadCodeEliminationTest.testFloatingPoint() fails if your default locale uses , instead of . in floating point numbers.
I don't like adding -Duser.country=US -Duser.language=en to common.ant.xml -> gwt.junit as I think tests should work without any special configuration, e.g. when running from the IDE directly without ANT.
Instead the test should use String.format(Locale.ENGLISH, ..) when formatting floats to be used as string literals in source code context.
Steps to reproduce
Run ant tests using -Duser.country=DE -Duser.language=de to simulate such a locale setting.
Known workarounds
Run ant tests using -Duser.country=US -Duser.language=en
The text was updated successfully, but these errors were encountered:
Description
DeadCodeEliminationTest.testFloatingPoint()
fails if your default locale uses,
instead of.
in floating point numbers.I don't like adding
-Duser.country=US -Duser.language=en
tocommon.ant.xml -> gwt.junit
as I think tests should work without any special configuration, e.g. when running from the IDE directly without ANT.Instead the test should use
String.format(Locale.ENGLISH, ..)
when formatting floats to be used as string literals in source code context.Steps to reproduce
Run ant tests using
-Duser.country=DE -Duser.language=de
to simulate such a locale setting.Known workarounds
Run ant tests using
-Duser.country=US -Duser.language=en
The text was updated successfully, but these errors were encountered: