JDK-8324799 : Use correct extension for C++ test headers
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-01-28
  • Updated: 2025-05-21
  • Resolved: 2024-02-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 b12Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8324880 :  
JDK-8324893 :  
JDK-8325042 :  
JDK-8325055 :  
JDK-8325180 :  
JDK-8325347 :  
JDK-8325367 :  
JDK-8325456 :  
JDK-8325458 :  
JDK-8325682 :  
JDK-8325910 :  
JDK-8326090 :  
JDK-8326524 :  
Description
There are a number of header files in test/hotspot/jtreg that have ".h" extensions but are actually C++ code, or are at least only included by C++ files.  Rename them, to follow normal HotSpot style.

Also rename uses of NULL to nullptr in the renamed headers, as that change is not included in the in-progress JDK-8324681.  The PR for that RFE only changed properly named C++ files.

Comments
Fix request [21u] I backport this to keep the tests up to date. No risk, only a test change Resolves needed. SAP nightly testing passed.
20-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1792 Date: 2025-05-16 09:14:10 +0000
16-05-2025

Changeset: 998d0baa Author: Kim Barrett <kbarrett@openjdk.org> Date: 2024-02-29 06:24:42 +0000 URL: https://git.openjdk.org/jdk/commit/998d0baab0fd051c38d9fd6021628eb863b80554
29-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18035 Date: 2024-02-28 01:18:50 +0000
28-02-2024