> 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/15c1c547..5303566f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30946&range=02-03 Stats: 9 lines in 2 files changed: 2 ins; 4 del; 3 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
