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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • OS:
      windows

      Description


      [ 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: