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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: