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

> Hi, please consider the following changes:
> 
> this fix adds extra asserts 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. The latter is fixed as well with a wrapper. 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).

Added serviceability.

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

PR Comment: https://git.openjdk.org/jdk/pull/30946#issuecomment-4349312829

Reply via email to