RFR: 8335475: ClassBuilder incorrectly calculates max_locals in some cases

Adam Sotona asotona at openjdk.org
Tue Jul 2 08:47:19 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.

Looks good to me, thanks for the fix.

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/19981#pullrequestreview-2153129835


More information about the core-libs-dev mailing list