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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 16
    • 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.

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

              Created:
              Updated:
              Resolved: