Integrated: 8339368: Switch targets are not inflated in CodeModel if no StackMap

Adam Sotona asotona at openjdk.org
Fri Sep 6 07:46:56 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

This pull request has now been integrated.

Changeset: a35fd386
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a35fd3861044bdb8ddae378cb666b3d2e549a8c8
Stats:     61 lines in 2 files changed: 45 ins; 12 del; 4 mod

8339368: Switch targets are not inflated in CodeModel if no StackMap

Reviewed-by: liach

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

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


More information about the core-libs-dev mailing list