[crac] Integrated: 8358956: [CRaC] Fix NULL usage in hotspot

Dmitry Cherepanov dcherepanov at openjdk.org
Mon Jun 9 13:34:10 UTC 2025


On Mon, 9 Jun 2025 09:15:03 GMT, Dmitry Cherepanov <dcherepanov at openjdk.org> wrote:

> jtreg test TestNoNULL.java fails due to a number of usages of NULL in CRaC code.
> 
> The test becomes a part of hs/tier1_common after [JDK-8352645](https://bugs.openjdk.org/browse/JDK-8352645)  (integrated in b17) and GHA starts reporting the failures after merge with jdk-25+17.
> 
> The patch replaces NULL with nullptr (and with null in comments and messages in asserts). The test passes with the change.

This pull request has now been integrated.

Changeset: eea5480c
Author:    Dmitry Cherepanov <dcherepanov at openjdk.org>
Committer: Radim Vansa <rvansa at openjdk.org>
URL:       https://git.openjdk.org/crac/commit/eea5480cdda059bd634832aa9d7d2e8ba560d067
Stats:     36 lines in 13 files changed: 1 ins; 4 del; 31 mod

8358956: [CRaC] Fix NULL usage in hotspot

Reviewed-by: rvansa

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

PR: https://git.openjdk.org/crac/pull/237


More information about the crac-dev mailing list