On Mon, 27 Apr 2026 14:37:47 GMT, Anton Artemov <[email protected]> wrote:

> Hi, please consider the following changes:
> 
> this fix adds extra guarantees into 
> `interpreterRuntime::member_name_arg_or_null()` and slightly changes its 
> logic with respect to bad oops. The goal is to detect if the 
> `member_name_oop` is not pointing at a member name in fact, which could have 
> happened before, when using `MethodHandleHelper.linkToStatic()` with wrong 
> order of arguments. A separate test is added. 
> 
> Tested in tiers 1 - 5.
> 
> ---------
> - [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: 81442e1d
Author:    Anton Artemov <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/81442e1db839bd890719f9c183c7559b7fde889a
Stats:     169 lines in 4 files changed: 158 ins; 7 del; 4 mod

8380080: PopFrame logic assumes trailing member name arg is recoverable as 
local 0

Reviewed-by: dlong, sspitsyn

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

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

Reply via email to