RFR: 8347472: Correct Attribute traversal and writing for Code attributes
Chen Liang
liach at openjdk.org
Sat Mar 8 00:03:53 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
Keep-alive; maybe I should crosspost this to classfile api dev.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23521#issuecomment-2707750867
More information about the core-libs-dev
mailing list