Integrated: 8335667: Fix simple -Wzero-as-null-pointer-constant warnings in compiler code

Kim Barrett kbarrett at openjdk.org
Thu Jul 4 12:19:24 UTC 2024


On Thu, 4 Jul 2024 09:17:46 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change that replaces some uses of literal 0 as a
> null pointer constant in compiler code to instead use nullptr.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: 7e378fcc
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7e378fccd8a4601c8b8e86aa2862c61e469c3a04
Stats:     3 lines in 2 files changed: 0 ins; 0 del; 3 mod

8335667: Fix simple -Wzero-as-null-pointer-constant warnings in compiler code

Reviewed-by: chagedorn

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

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


More information about the hotspot-compiler-dev mailing list