On Tue, 20 Jan 2026 18:40:10 GMT, Kim Barrett <[email protected]> wrote:

> Please review this change to MacOSX and bsd code to avoid using literal zero
> as a null pointer constant, instead using nullptr.
> 
> Also disable that warning when building the gtest framework with clang,
> similarly to what was done in JDK-8338154 for gcc.
> 
> Testing: mach5 tier1.  Also tested with additional build changes to enable the
> warning.

This pull request has now been integrated.

Changeset: b5727d27
Author:    Kim Barrett <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b5727d27622e1e321733f8d0e606b366984104be
Stats:     6 lines in 3 files changed: 1 ins; 0 del; 5 mod

8375738: Fix -Wzero-as-null-pointer-constant warnings in MacOSX/bsd code

Reviewed-by: erikj, dholmes

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

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

Reply via email to