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

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


On Wed, 26 Feb 2025 12:10:38 GMT, Kim Barrett <kbarrett 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.

This pull request has now been integrated.

Changeset: c988d7d6
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c988d7d6476807bf71a977dc771017915b708ca3
Stats:     20 lines in 5 files changed: 0 ins; 0 del; 20 mod

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

Reviewed-by: coleenp

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

PR: https://git.openjdk.org/jdk/pull/23798


More information about the hotspot-runtime-dev mailing list