JDK-8301074 : Replace NULL with nullptr in share/opto/
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-01-25
  • Updated: 2023-07-25
  • Resolved: 2023-03-09
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 17 JDK 21
17.0.9-oracleFixed 21 b14Fixed
Description
Do the conversion in the share/opto/ sub-directory and all of its files.
Comments
Fix request [17u] I would like to backport this. There are many backports in C2 because the jit compilers are kept similar in all supported releases. This change makes backports unclean. As nullptr is already used in 17, it should not break any usage of old compilers that do not support it. So backporting this promises more clean backports to C2 which reduces error sources and simplifies backporting work. Not clean. SAP nightly testing passed.
27-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1499 Date: 2023-06-26 10:18:22 +0000
26-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1293 Date: 2023-04-24 11:05:43 +0000
24-04-2023

Changeset: 5726d31e Author: Johan Sjölen <jsjolen@openjdk.org> Date: 2023-03-09 20:28:26 +0000 URL: https://git.openjdk.org/jdk/commit/5726d31e56530bbe7dee61ae04b126e20cb3611d
09-03-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12187 Date: 2023-01-25 11:46:36 +0000
20-02-2023