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

Kim Barrett kbarrett at openjdk.org
Thu Jul 4 09:22:28 UTC 2024


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

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

Commit messages:
 - fix ImplicitExceptionTable ctor
 - ciStreams

Changes: https://git.openjdk.org/jdk/pull/20023/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20023&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335667
  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/20023.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20023/head:pull/20023

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


More information about the hotspot-compiler-dev mailing list