Integrated: 8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code
Gui Cao
gcao 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)
This pull request has now been integrated.
Changeset: 0c1e9111
Author: Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0c1e9111d226b601236b9826e27ecc67a8b625fb
Stats: 5 lines in 4 files changed: 0 ins; 0 del; 5 mod
8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code
Reviewed-by: fyang, mli, luhenry
-------------
PR: https://git.openjdk.org/jdk/pull/20506
More information about the hotspot-dev
mailing list