JDK-8366193 : Add comments about ResolvedFieldEntry::copy_from()
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-08-26
  • Updated: 2025-08-28
  • Resolved: 2025-08-28
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 26
26 masterFixed
Related Reports
Relates :  
Relates :  
Description
JDK-8293980 added ResolvedFieldEntry::copy_from() to prevent random bits in the CDS archive. However, I forgot to add a comment to explain why this is necessary.
Comments
Changeset: 9f70965b Branch: master Author: Ioi Lam <iklam@openjdk.org> Date: 2025-08-28 18:08:55 +0000 URL: https://git.openjdk.org/jdk/commit/9f70965bb9ead2268c02c688c79ec0d80574c725
28-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26946 Date: 2025-08-26 16:53:17 +0000
26-08-2025