-
Bug
-
Resolution: Fixed
-
P1
-
13
-
b05
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.
.../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.
- relates to
-
JDK-8212826 Make PtrQueue free list lock-free
- Resolved