RFR: 8337418: Fix -Wzero-as-null-pointer-constant warnings in prims code

Aleksey Shipilev shade at openjdk.org
Tue Jul 30 10:22:32 UTC 2024


On Tue, 30 Jul 2024 04:12:33 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change that removes some uses of literal 0 as a null
> pointer constant in prims code.
> 
> Testing: mach5 tier1

All right, this looks fine. (I am somewhat allergic to `{}` syntax, but it is what it is.)

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20385#pullrequestreview-2207285678


More information about the serviceability-dev mailing list