RFR: 8350767: Fix -Wzero-as-null-pointer-constant warnings in nsk jni stress tests

Kim Barrett kbarrett at openjdk.org
Mon Mar 3 15:58:03 UTC 2025


On Mon, 3 Mar 2025 15:00:28 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Please review this change to remove uses of literal zero as a null pointer
>> constant in nsk jni stress tests.
>> 
>> Testing: mach5 tier1
>> Locally tested (linux-x64) with -Wzero-as-null-pointer-constant enabled to
>> verify the warnings associated with this code were removed.
>
> Looks good (I don't believe test changes like these require 24 hour review perioid).  Also it's a trivial change.

Thanks for reviewing @coleenp

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23798#issuecomment-2694839342


More information about the hotspot-runtime-dev mailing list