RFR: 8347472: Correct Attribute traversal and writing for Code attributes

Chen Liang liach at openjdk.org
Fri Apr 11 00:21:38 UTC 2025


On Fri, 7 Feb 2025 19:25:04 GMT, Chen Liang <liach at openjdk.org> wrote:

> Make UnknownAttribute and CustomAttribute delivered in code traversal, and make sure stack maps update the label references after a code transform when it is reused. Other code-bound attributes are not updated as they cannot be supplied to a CodeBuilder.
> 
> Tested the 2 cases in the new AttributesInCodeTest fails on earlier JDKs.
> 
> Testing: JDK tier 1-3 ongoing

Thanks for the reviews!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23521#issuecomment-2795475481


More information about the core-libs-dev mailing list