Integrated: 8362306: HotSpotJVMCIRuntime.getMirror can crash
Doug Simon
dnsimon at openjdk.org
Thu Jul 17 16:22:54 UTC 2025
On Wed, 16 Jul 2025 08:35:10 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.
This pull request has now been integrated.
Changeset: 2b11a289
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2b11a28997ad7ca424ad5595f9a7c7a9af530727
Stats: 77 lines in 6 files changed: 64 ins; 1 del; 12 mod
8362306: HotSpotJVMCIRuntime.getMirror can crash
Reviewed-by: gdub, never, cslucas
-------------
PR: https://git.openjdk.org/jdk/pull/26346
More information about the graal-dev
mailing list