On Mon, 2 Feb 2026 11:48:14 GMT, Christian Hagedorn <[email protected]> 
wrote:

> [JDK-8375548](https://bugs.openjdk.org/browse/JDK-8375548) added support for 
> compiler replay but only tested with cases where classes can actually be 
> loaded. When some classes cannot be loaded (for example, due to missing class 
> files), we crash with a null pointer when run with `+ReplayIgnoreInitErrors`: 
> `parse_klass()` returns `null` for non-loadable classes. Then, we access it 
> with `k->is_objArray_klass()` without checking for null and we crash. This 
> patch adds a simple null-check to fix the problem.
> 
> Thanks,
> Christian

Looks good and trivial.

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

Marked as reviewed by thartmann (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2010#pullrequestreview-3738936386

Reply via email to