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

Chen Liang liach at openjdk.org
Fri Apr 11 00:21:39 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

This pull request has now been integrated.

Changeset: 7bb8b176
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7bb8b1768f0992d066f33f340be42dbd7c21dcc9
Stats:     216 lines in 10 files changed: 198 ins; 6 del; 12 mod

8347472: Correct Attribute traversal and writing for Code attributes

Reviewed-by: asotona

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

PR: https://git.openjdk.org/jdk/pull/23521


More information about the core-libs-dev mailing list