[foreign-memaccess+abi] RFR: 8312981: Make the linker API required

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Jul 25 18:23:03 UTC 2023


On Tue, 25 Jul 2023 15:51:26 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Currently the Linker::nativeLinker method is specified to throw an UnsupportedOperationException when the JDK does not include a linker implementation.
> 
> This patch drops this exception specification, and effectively requires all JDK implementations to implement the linker. This move is vital to allow the JDK to start using the linker API as well.
> 
> It also turns on all the tests by default. This will mean that implementations that don't conform (because they are missing a linker) will get a useful indication of that fact through test failures.

Looks good

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

Marked as reviewed by mcimadamore (Committer).

PR Review: https://git.openjdk.org/panama-foreign/pull/850#pullrequestreview-1546079716


More information about the panama-dev mailing list