[jdk21u-dev] Integrated: 8316907: Fix nonnull-compare warnings

SendaoYan syan at openjdk.org
Fri Nov 22 15:40:25 UTC 2024


On Thu, 21 Nov 2024 07:38:30 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> There are some gcc compile warnings which recorded by [JDK-8342304](https://bugs.openjdk.org/browse/JDK-8342304) on linux-riscv64 platform, and the PR [JDK-8316893](https://bugs.openjdk.org/browse/JDK-8316893) fix the gcc compile warnings. So I want to backport [JDK-8316893](https://bugs.openjdk.org/browse/JDK-8316893) to jdk21u-dev. But before backport [JDK-8316893](https://bugs.openjdk.org/browse/JDK-8316893), we should backport [JDK-8316907](https://bugs.openjdk.org/browse/JDK-8316907) first, [JDK-8316907](https://bugs.openjdk.org/browse/JDK-8316907) solve  nonnull-compare warnings emitted by GCC after removing `-fno-delete-null-pointer-checks`.
> 
> Additional testing:
> 
> - [x] 1. jtreg tests(include tier1/2/3 etc.) with linux-x64 release build
> - [x] 2. jtreg tests(include tier1/2/3 etc.) with linux-x64 fastdebug build
> - [x] 3. jtreg tests(include tier1/2/3 etc.) with linux-aarch64 release build
> - [x] 4. jtreg tests(include tier1/2/3 etc.) with linux-aarch64 fastdebug build

This pull request has now been integrated.

Changeset: ef5702e7
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/ef5702e7f4be11ab3f3b7d74b98cf9aa628829f7
Stats:     6 lines in 2 files changed: 0 ins; 6 del; 0 mod

8316907: Fix nonnull-compare warnings

Backport-of: 516cfb135f7e5fefaf6e6f2928f6ecb88806f1ef

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1172


More information about the jdk-updates-dev mailing list