RFR: 8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code

duke duke at openjdk.org
Fri Aug 9 03:02:37 UTC 2024


On Thu, 8 Aug 2024 03:37:06 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, 
> Same as  [JDK-8337786](https://bugs.openjdk.org/browse/JDK-8337786) for aarch64, similar build warnings exist on riscv. Please help review this trivial change that replaces some uses of literal 0 as a null pointer constant in riscv code to instead use nullptr.
> 
> ### Testing
> - [x] Run tier1 tests on SOPHON SG2042 (release)

@zifeihan 
Your change (at version d32e656716a5e937682ba687510c3de110c176be) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/20506#issuecomment-2277051793


More information about the hotspot-dev mailing list