RFR: 8362306: HotSpotJVMCIRuntime.getMirror can crash [v6]

Tom Rodriguez never at openjdk.org
Thu Jul 17 16:06:50 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

Marked as reviewed by never (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/26346#pullrequestreview-3030157052


More information about the graal-dev mailing list