-
Bug
-
Resolution: Unresolved
-
P4
-
jfx12
in my local environment with Locale.German some tests are failing:
dblSpinner_testToString_valueInRange
junit.framework.ComparisonFailure: expected:<0[.]3> but was:<0[,]3>
test_jdk_8150946_testCommit_valid
junit.framework.AssertionFailedError: expected:<2.5> but was:<2.0>
dblSpinner_testFromString_valueInRange
junit.framework.AssertionFailedError: expected:<0.3> but was:<0.0>
test_jdk_8150946_testCancel
junit.framework.ComparisonFailure: expected:<2[.]5> but was:<2[,]5>
reason seems to be hard-coded expected values, assuming English Locale: the default DoubleStringConverter used by DoubleSpinnerValueFactory has a rudimentary locale support by DecimalFormat("#.##")
dblSpinner_testToString_valueInRange
junit.framework.ComparisonFailure: expected:<0[.]3> but was:<0[,]3>
test_jdk_8150946_testCommit_valid
junit.framework.AssertionFailedError: expected:<2.5> but was:<2.0>
dblSpinner_testFromString_valueInRange
junit.framework.AssertionFailedError: expected:<0.3> but was:<0.0>
test_jdk_8150946_testCancel
junit.framework.ComparisonFailure: expected:<2[.]5> but was:<2[,]5>
reason seems to be hard-coded expected values, assuming English Locale: the default DoubleStringConverter used by DoubleSpinnerValueFactory has a rudimentary locale support by DecimalFormat("#.##")