RFR(XS): 8185112: [TESTBUG] Servicability tests cannot parse float if non US locale.
Volker Simonis
volker.simonis at gmail.com
Thu Jul 27 09:48:53 UTC 2017
Looks good, but don't we also need this for getIntValue() as well?
I.e. can't an integer be "1.234.678" (German style) as well as
"1,234,678" (American style) for example ?
Thanks,
Volker
On Mon, Jul 24, 2017 at 9:07 AM, Lindenmaier, Goetz
<goetz.lindenmaier at sap.com> wrote:
> Hi,
>
>
>
> Some tests use Float.valueOf for String to float converting. If an other
> locale than US is used the test failed. We observed this on Mac.
> Changed to use NumberFormat to work with all locales.
>
>
>
> Please review this change. I please need a sponsor.
>
> http://cr.openjdk.java.net/~goetz/wr17/8185112-macLocale/webrev.01/
>
>
>
> Best regards,
>
> Goetz
More information about the serviceability-dev
mailing list