On Wed, 4 Sep 2024 11:39:10 GMT, Jorn Vernee <jver...@openjdk.org> wrote:
>> src/hotspot/share/prims/upcallLinker.cpp line 142: >> >>> 140: Handle exception_h(Thread::current(), exception); >>> 141: java_lang_Throwable::print_stack_trace(exception_h, tty); >>> 142: ShouldNotReachHere(); >> >> How does `print_stack_trace` not return here? > > It does return. `ShouldNotReachHere` is used to crash the VM. `fatal()` might be better here. I could change it. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20479#discussion_r1743638097