Integrated: 8337416: Fix -Wzero-as-null-pointer-constant warnings in misc. runtime code

Kim Barrett kbarrett at openjdk.org
Tue Jul 30 07:27:37 UTC 2024


On Tue, 30 Jul 2024 03:34:18 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this (perhaps trivial?) change that removes some uses of literal
> 0 as a null pointer constant in misc. runtime code.  Most are changed to use
> nullptr. 
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: bc7c255b
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bc7c255b156bf3bb3fd8c3f622b8127ab27e7c7a
Stats:     17 lines in 10 files changed: 0 ins; 0 del; 17 mod

8337416: Fix -Wzero-as-null-pointer-constant warnings in misc. runtime code

Reviewed-by: dholmes, jwaters

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

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


More information about the hotspot-dev mailing list