Integrated: 8350623: Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities

Kim Barrett kbarrett at openjdk.org
Mon Mar 3 15:57:09 UTC 2025


On Wed, 26 Feb 2025 12:03:27 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to remove a use of literal zero as a null
> pointer constant.
> 
> 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: 67dfdfa6
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/67dfdfa6ea829fcd1ecac0df8211b591ad15f859
Stats:     7 lines in 2 files changed: 4 ins; 0 del; 3 mod

8350623: Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities

Reviewed-by: coleenp

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

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


More information about the hotspot-runtime-dev mailing list