System.loadLibrary and CLinker.lookup exception

Jack Andrews effbiae at gmail.com
Wed Apr 27 10:22:57 UTC 2022


On Wed, 27 Apr 2022 at 19:27, Maurizio Cimadamore <
maurizio.cimadamore at oracle.com> wrote:

> First, these are @CallerSensitive methods, which means the JDK keeps


yes, the @CallerSensitive tags can be preserved

need to downcast the Object parameter to either Path or String,
> depending on the case, which doesn't look great either.
>

better than a "copy and paste". DRY. i'll open a PR :)

but seriously, i'm happy to provide FFI use cases that can be incorporated
into your tests.
where are your tests, BTW?

jack


More information about the panama-dev mailing list