gtest for os::random() fails on windows x64

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 16
    • Component/s: hotspot
    • None
    • windows


      [ RUN ] os.test_random
      ./test/hotspot/gtest/runtime/test_os.cpp(134): error: Expected equality of these values:
        num
          Which is: 1589873406
        1043618065
      bad seed
      [ FAILED ] os.test_random (0 ms)

      Possibly related to JDK-8252219 - change looks harmless but coding is very old and this is the only recent change I can see.

      Happens with release VM, built on windows x64 with VS2017.

            Assignee:
            Unassigned
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: