RFR: 8362306: HotSpotJVMCIRuntime.getMirror can crash [v5]
Doug Simon
dnsimon at openjdk.org
Wed Jul 16 15:40:27 UTC 2025
> This PR fixes `HotSpotJVMCIRuntime.getMirror(ResolvedJavaMethod method)` and `HotSpotJVMCIRuntime.getMirror(ResolvedJavaField field)` so that they return null for `<clinit>` and an injected field respectively instead of crashing.
Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
test that getMirror on clinit returns null
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26346/files
- new: https://git.openjdk.org/jdk/pull/26346/files/7cf4b26c..fd44d95c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26346&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26346&range=03-04
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/26346.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26346/head:pull/26346
PR: https://git.openjdk.org/jdk/pull/26346
More information about the graal-dev
mailing list