[foreign-memaccess+abi] Integrated: 8275061: Exceptions thrown from non-void upcalls are not handled

Jorn Vernee jvernee at openjdk.java.net
Mon Oct 11 16:28:26 UTC 2021


On Mon, 11 Oct 2021 15:15:06 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> Exceptions thrown from non-void upcalls are currently not handled, meaning we crash the VM instead without a stack trace (CATCH macro).
> 
> Only the void case is currently handled for specialized upcalls. This PR adds the missing call to handle any uncaught exceptions for non-void upcalls as well.
> 
> Jorn

This pull request has now been integrated.

Changeset: 96084626
Author:    Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/960846267ec1c3a907d363982ed5d0d0e1eaea1f
Stats:     41 lines in 3 files changed: 27 ins; 2 del; 12 mod

8275061: Exceptions thrown from non-void upcalls are not handled

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.java.net/panama-foreign/pull/597


More information about the panama-dev mailing list