[foreign-abi] RFR: 8253430: Improve the LibraryLookup API [v2]
Ty Young
github.com+10172435+BlueGoliath at openjdk.java.net
Mon Sep 21 16:27:31 UTC 2020
On Mon, 21 Sep 2020 14:37:46 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Require absolute path on LibraryLookup::ofPath
>
> Marked as reviewed by sundar (Committer).
Thanks for making these changes.
Would it be possible to also modify LibraryLookup.ofLibrary() so that it takes a var-arg string list? Currently, I'm
using ofPath only because LibraryLookup.ofLibrary() only accepts a single name and NVML has different library names on
Windows Vs. Linux.:
Path.of(System.getenv("WINDIR"), "/system32/nvml.dll")
vs.
Path.of("/usr/lib/", "libnvidia-ml.so")
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/348
More information about the panama-dev
mailing list