[foreign-jextract] RFR: 8259473: jextract generated code should throw exception for unfound native symbols from calls, variable access, set immediately [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Jan 8 12:39:08 UTC 2021


On Fri, 8 Jan 2021 12:27:30 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> NPE with proper error message is thrown immediately (on call, variable access/set)
>
> Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Using UnsatisfiedLinkError and "unresolved symbol: <name>" as error message.
>   Refactored static methods in header file class to check linkage outside try
>   block around invokeExact - so that UnsatisfiedLinkError, if needed, is thrown.

Looks good

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

Marked as reviewed by mcimadamore (Committer).

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


More information about the panama-dev mailing list