> 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).
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/2718ce97..27a5f8af Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=00-01 Stats: 13 lines in 4 files changed: 0 ins; 7 del; 6 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
