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

duke duke at openjdk.org
Mon Jun 9 11:44:17 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.

@dimitryc 
Your change (at version 45aef4373753438c52ad718fcb70da1e6a6d28f0) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/crac/pull/237#issuecomment-2955545748


More information about the crac-dev mailing list