Integrated: 8335475: ClassBuilder incorrectly calculates max_locals in some cases

Chen Liang liach at openjdk.org
Tue Jul 2 23:18:20 UTC 2024


On Mon, 1 Jul 2024 22:54:16 GMT, Chen Liang <liach at openjdk.org> wrote:

> Trivial fix for the bug where `StackMapGenerator` is pre-allocating the locals incorrectly, affecting static methods with 0 locals. `StackCounter` was not affected.

This pull request has now been integrated.

Changeset: 1ef34c18
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1ef34c183315b70ddc27c177a2867e30132609f5
Stats:     32 lines in 2 files changed: 28 ins; 0 del; 4 mod

8335475: ClassBuilder incorrectly calculates max_locals in some cases

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list