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

ArgumentsTest.set_numeric_flag_double_vm fails on some locales (again)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • b20

      The previois fix (JDK-8284181) is incomplete

      $ LC_NUMERIC=en_DK.UTF-8 ./hotspot/variant-server/libjvm/gtest/gtestLauncher -jdk:./images/jdk/ --gtest_filter=ArgumentsTest.set_numeric_flag_double_vm

      Note: Google Test filter = ArgumentsTest.set_numeric_flag_double_vm
      [==========] Running 1 test from 1 test case.
      [----------] Global test environment set-up.
      [----------] 1 test from ArgumentsTest
      [ RUN ] ArgumentsTest.set_numeric_flag_double_vm
      /shared/projects/openjdk/jdk-jdk/source/test/hotspot/gtest/runtime/test_arguments.cpp:600: Failure
      Value of: ArgumentsTest::parse_argument(flag->name(), str)
        Actual: false
      Expected: true
      Test string '1.e-2' did not parse for type double.
      [ FAILED ] ArgumentsTest.set_numeric_flag_double_vm (0 ms)
      [----------] 1 test from ArgumentsTest (87 ms total)

      [----------] Global test environment tear-down
      [==========] 1 test from 1 test case ran. (87 ms total)
      [ PASSED ] 0 tests.
      [ FAILED ] 1 test, listed below:
      [ FAILED ] ArgumentsTest.set_numeric_flag_double_vm

       1 FAILED TEST
      ERROR: RUN_ALL_TESTS() failed. Error 1

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: