RFR: 8362306: HotSpotJVMCIRuntime.getMirror can crash [v6]
Doug Simon
dnsimon at openjdk.org
Thu Jul 17 16:22:54 UTC 2025
On Thu, 17 Jul 2025 15:00:11 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:
>
> replaced use of JVMCIENV with JVMCI_CHECK_NULL in getDeclaredFieldsInfo
Thanks for the reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26346#issuecomment-3084663685
More information about the graal-dev
mailing list