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

Adam Sotona asotona at openjdk.org
Tue Apr 8 11:40:14 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

It is nice to see these leftovers fixed, thanks.

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23521#pullrequestreview-2749662182


More information about the core-libs-dev mailing list