Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185112

[TESTBUG] Serviceability tests cannot parse float if non US locale.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • None
    • svc
    • b21

      Fix for serviceability/tmtools tests. Tests used 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.

            goetz Goetz Lindenmaier
            goetz Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: