RFR(XXS): 8214125: [test] Fix comparison between pointer and integer in test_ptrQueueBufferAllocator.cpp
martin.doerr at sap.com
Tue Nov 20 16:11:20 UTC 2018
looks good and trivial. Reviewed.
From: hotspot-gc-dev <hotspot-gc-dev-bounces at openjdk.java.net> On Behalf Of Volker Simonis
Sent: Dienstag, 20. November 2018 17:03
To: Hotspot-Gc-Dev <hotspot-gc-dev at openjdk.java.net>
Subject: RFR(XXS): 8214125: [test] Fix comparison between pointer and integer in test_ptrQueueBufferAllocator.cpp
can I please have a review fort he following trivial gtest fix which
currently breaks the AIX build:
Change JDK-8213352 introduced an gtest which does a comparison between
an integer and a pointer which is forbidden in C++:
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:
Thank you and best regards,
More information about the hotspot-gc-dev