RFR: 8339368: Switch targets are not inflated in CodeModel if no StackMap
Chen Liang
liach at openjdk.org
Mon Sep 2 13:17:19 UTC 2024
On Mon, 2 Sep 2024 10:03:59 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> ClassFile API use an alternate labels inflation method for class versions < 50 (where StackMapTable attribute is optional).
> The alternate method missed label inflation of lookup switch and table switch instructions.
> This patch fixes the label inflation method for for class versions < 50 and adds relevant test.
>
> Please review.
>
> Thanks,
> Adam
Thanks for this fix.
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20810#pullrequestreview-2275639509
More information about the core-libs-dev
mailing list