JDK-8254810 : gtest for os::random() fails on windows x64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • Submitted: 2020-10-15
  • Updated: 2021-01-07
  • Resolved: 2020-11-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
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.
Comments
ILW = MLM = P4
20-10-2020