RFR: 8362306: HotSpotJVMCIRuntime.getMirror can crash [v5]
Cesar Soares Lucas
cslucas at openjdk.org
Wed Jul 16 22:54:47 UTC 2025
On Wed, 16 Jul 2025 15:40:27 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> 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
LGTM
-------------
Marked as reviewed by cslucas (Committer).
PR Review: https://git.openjdk.org/jdk/pull/26346#pullrequestreview-3027147958
More information about the graal-dev
mailing list