jextract symbolic link handling

Andre Blanke blanke.and at gmail.com
Thu Nov 21 17:18:57 UTC 2019


Hi,

it appears jextract is not able to handle -l arguments which are symbolic
links pointing to the actual library, which is the case for some libraries
on my system.

Would it be possible to implement support for this?

It should be a fairly simple fix by replacing the Path::toAbsolutePath
method reference inside of com.sun.tools.jextract.Utils.findLibraryPath
with a call to Path.toRealPath and adding code for handling a potential
IOException.

Thanks,
Andre


More information about the panama-dev mailing list