> 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).
Anton Artemov has updated the pull request incrementally with one additional commit since the last revision: 8380080: Addressed reviewer's comments. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30946/files - new: https://git.openjdk.org/jdk/pull/30946/files/5303566f..4c8291d0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=03-04 Stats: 24 lines in 2 files changed: 23 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30946.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30946/head:pull/30946 PR: https://git.openjdk.org/jdk/pull/30946
