RFR: 8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Julian Waters
jwaters at openjdk.org
Fri Jul 5 07:53:19 UTC 2024
On Thu, 4 Jul 2024 12:15:09 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to some jvmti tests, which were calling fflush with
> an argument of 0. Most of these are in C++ code, where we change them to use
> nullptr as the argument. A couple are in C, where we change them to use NULL.
> This removes a bunch of -Wzero-as-null-pointer-constant when building with
> that enabled.
>
> Testing: mach5 tier1
Marked as reviewed by jwaters (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20032#pullrequestreview-2160159717
More information about the serviceability-dev
mailing list