Integrated: 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files

Coleen Phillimore coleenp at openjdk.org
Mon Jan 29 17:10:43 UTC 2024


On Fri, 26 Jan 2024 16:40:32 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This mechanically replaces NULL with nullptr in hpp/cpp native files in test native code.  This didn't attempt to change NULL in comments to say null because nullptr is generally the right thing for the comment to say.  It does attempt to change NULL to "null" rather than "nullptr" in strings.  Any changes for "nullptr" to "null" in comments can be changed in a future RFE in a smaller patch. I didn't see any when it was scrolling by to make my script more complicated.
> 
> Ran tier1-4 testing.

This pull request has now been integrated.

Changeset: a6bdee48
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a6bdee48f39993128d8095d40ab417f0102af0f4
Stats:     8218 lines in 750 files changed: 0 ins; 7 del; 8211 mod

8324681: Replace NULL with nullptr in HotSpot jtreg test native code files

Reviewed-by: kevinw, kbarrett, dholmes

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

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


More information about the core-libs-dev mailing list