On Wed, 20 Aug 2025 14:50:25 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

> Vice versa. The exception is thrown in "usual" method. Usually, the stack is 
> unwinded until exception is caught. However, it is possible to call the 
> method (using upCall) in the middle of this process. And this 'upCall' method 
> doesn't throw or caught any exceptions. Should just work normally.

So the callback does an upcall that invokes the same method we are still 
posting the "method exit" for. That is a distinct frame/activation so the exit 
mode of the original should be immaterial. Though not sure how we avoid 
infinite loop in such a recursive case.

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

PR Comment: https://git.openjdk.org/jdk/pull/26713#issuecomment-3208641908

Reply via email to