JDK-8311103 : Enhancements and Fixes to SA ClassWriter
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-06-29
  • Updated: 2024-07-11
  • Resolved: 2023-12-14
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 22
22Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8309979 :  
JDK-8311102 :  
JDK-8312623 :  
Description
The classfile generated by SA ClassWriter is missing many of the attributes. Many commands like dumpclass and buildreplayjars rely on ClassWriter for dumping the classfiles. If the classfiles are not complete (compared to the original class files), then the jars generated by buildreplayjars cannot be used for replay compilation, thus limiting the serviceability of the jdk.

This task will serve as the umbrella for sub-tasks that add missing attributes and fix any other bugs in SA ClassWriter to bring it up to the level where replay compilations do not fail due to missing classfile pieces in the class files generated by buildreplayjars command.