Integrated: 8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Kim Barrett
kbarrett at openjdk.org
Tue Jul 9 13:14:37 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
This pull request has now been integrated.
Changeset: 7e11fb70
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7e11fb702696df733ca89d325200f2e9414402d9
Stats: 175 lines in 25 files changed: 0 ins; 0 del; 175 mod
8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Reviewed-by: jwaters, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/20032
More information about the serviceability-dev
mailing list