[foreign] RFR 8211060: Library.getDefault() does not work on Windows

Jorn Vernee jbvernee at xs4all.nl
Mon Sep 24 13:03:10 UTC 2018

Jorn Vernee schreef op 2018-09-24 14:55:
> Ok, then I think we agree on dropping the default library, and the
> question becomes how to handle the current tests now having to load
> different libraries on different platforms.
> For the most part the Java side is completely the same, only the value
> being passed to `NativeHeader#libraries` would have to change
> depending on the platform.
> Any suggestions about how to go about that? My only idea of just
> copy-pasting every test, adding a @requires tag and then changing just
> that string seems like overkill.
> Jorn

Thinking more about that; if I can get jextract to build and run on 
windows, and it is changed to also supply a value for the `libraries` 
field (as suggested), a shell script could be ran to generate the 
interfaces on demand when the tests run. Then the tests would also 
double as tests for jextract.


More information about the panama-dev mailing list