JDK-8345050 : Fix -Wzero-as-null-pointer warning in MemPointer ctor
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-11-26
  • Updated: 2024-11-28
  • Resolved: 2024-11-27
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 24
24 b26Fixed
Related Reports
Relates :  
Description
The MemPointer ctor uses zero as a null pointer constant in a call to Node::dump_bfs.  It should use nullptr instead.

Comments
Changeset: 1f6144ef Branch: master Author: Kim Barrett <kbarrett@openjdk.org> Date: 2024-11-27 06:43:05 +0000 URL: https://git.openjdk.org/jdk/commit/1f6144ef26096da46ca04f188afb483ea237bb0e
27-11-2024

Regression from JDK-8335392.
26-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22388 Date: 2024-11-26 11:00:56 +0000
26-11-2024