On Tue, 16 Jun 2026 13:19:36 GMT, Adam Sotona <[email protected]> wrote:

> A very unique bytecode flow (described in the test) results in an invalid 
> stack map frame.
> The fix clears stale stack map frame locals that would otherwise cause 
> problems in subsequent stack map generation rounds.
> 
> Please review.
> 
> Thank you,
> Adam
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: ef5b328c
Author:    Adam Sotona <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/ef5b328ce5a8f1a27f87745d6cc19db7baec4c3f
Stats:     31 lines in 2 files changed: 28 ins; 0 del; 3 mod

8386700: Class-File API: StackMapGenerator.setLocalsFromArg leaves stale 
locals, generating invalid stack maps

Reviewed-by: liach

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

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

Reply via email to