Change JDK-8213352 introduced an gtest which does a comparison between an integer and a pointer which is forbidden in C++:
ASSERT_EQ(NULL, nodes[i]->next());
I don't know why other compilers havn't complained about it, but XLC did.
The fix for this is trivial - just cast NULL to the appropriate pointer type:
ASSERT_EQ((BufferNode*)NULL, nodes[i]->next());
ASSERT_EQ(NULL, nodes[i]->next());
I don't know why other compilers havn't complained about it, but XLC did.
The fix for this is trivial - just cast NULL to the appropriate pointer type:
ASSERT_EQ((BufferNode*)NULL, nodes[i]->next());
- relates to
-
JDK-8213352 Separate BufferNode allocation from PtrQueueSet
-
- Resolved
-