[jdk23] Integrated: 8335475: ClassBuilder incorrectly calculates max_locals in some cases

2024-07-08 Thread Chen Liang
On Wed, 3 Jul 2024 02:38:58 GMT, Chen Liang wrote: > Please review this clean backport of #19981 onto JDK 23, fixing > `StackMapGenerator` generating static methods with no declared local variable > a max local of 1. This pull request has now been integrated. Changeset: 2f60d368 Author:Ch

Integrated: 8335475: ClassBuilder incorrectly calculates max_locals in some cases

2024-07-02 Thread Chen Liang
On Mon, 1 Jul 2024 22:54:16 GMT, Chen Liang 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: