JDK-8217423 : Windows gtest build fails after JDK-8212826 (Make PtrQueue free list lock-free)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 13
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-20
  • Updated: 2019-08-07
  • Resolved: 2019-01-21
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.
JDK 13
13 b05Fixed
Related Reports
Relates :  
Description
Windows:

.../jdk/test/hotspot/gtest/utilities/test_lockFreeStack.cpp(54): error C2921: redefinition: 'Stack': class template is being redeclared as 'typedef LockFreeStackTestElement::Stack Stack'
...\jdk\src\hotspot\share\utilities/stack.hpp(93): note: see declaration of 'Stack'

It seems the typedef in the test clashes with actual Stack. We can trivially rename the typedef-ed name to resolve this conflict.
Comments
RFR: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-January/024587.html
20-01-2019