RFR: 8337785: Fix simple -Wzero-as-null-pointer-constant warnings in x86 code

Julian Waters jwaters at openjdk.org
Sun Aug 4 04:38:30 UTC 2024


On Sat, 3 Aug 2024 23:26:25 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 x86 code to instead use nullptr.
> 
> Testing: mach5 tier1

There really are a lot of these, aren't there? :P

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

Marked as reviewed by jwaters (Committer).

PR Review: https://git.openjdk.org/jdk/pull/20453#pullrequestreview-2217388280


More information about the hotspot-dev mailing list