Integrated: 7903877: jextract exception handling in downcall wrappers

Nizar Benalla nbenalla at openjdk.org
Tue Apr 29 12:20:00 UTC 2025


On Wed, 23 Apr 2025 16:27:10 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

> Can I please get a review for this patch to improve the exception handling in downcall wrappers, if the exception is reachable then throwing an exception is better than catching an exception and turning them into an `AssertionError`.
> 
> TIA

This pull request has now been integrated.

Changeset: ec585ccc
Author:    Nizar Benalla <nbenalla at openjdk.org>
Committer: Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/ec585cccaa131f429f77df3620325fe465c69ee0
Stats:     124 lines in 5 files changed: 120 ins; 0 del; 4 mod

7903877: jextract exception handling in downcall wrappers

Reviewed-by: mcimadamore, jvernee

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

PR: https://git.openjdk.org/jextract/pull/282


More information about the jextract-dev mailing list