JDK-8324681 : Replace NULL with nullptr in HotSpot jtreg test native code files
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-01-25
  • Updated: 2025-05-15
  • Resolved: 2024-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21 JDK 23
21.0.8Fixed 23 b08Fixed
Related Reports
Relates :  
Relates :  
Description
Umbrella issue to cover the replacement of NULL with nullptr in the native code support files for HotSpot jtreg tests.

Outside of vmTestbase there are about 1700 occurrences in about 200 files.  In vmTestbase there are over 6000 occurrences in about 650 files.

Because of the large number of files and occurrences, this should be broken up into more manageable chunks by sub-tasks.

This addresses a category of NULL uses that wasn't dealt with by JDK-8299837. 

Comments
Fix request [21u] I backport this to keep the tests easy to maintain. No risk, only a test change Needed some trivial resolves. SAP nightly testing passed.
15-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1772 Date: 2025-05-12 15:11:20 +0000
12-05-2025

Changeset: a6bdee48 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2024-01-29 17:07:32 +0000 URL: https://git.openjdk.org/jdk/commit/a6bdee48f39993128d8095d40ab417f0102af0f4
29-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17593 Date: 2024-01-26 16:40:32 +0000
26-01-2024