[foreign] RFR Libraries.load is broken

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Jun 27 09:54:49 UTC 2018


Looks good

Maurizio


On 27/06/18 02:53, Sundararajan Athijegannathan wrote:
> Panama's Libraries.load, Libraries.loadLibrary are similar to 
> System.load, System.loadLibrary respectively - except for caller 
> sensitivity and return value (Library interface vs. void). load uses 
> absolute path and loadLibrary uses simple name.
>
> Libraries.load is broken - throws UnsatisfiedLinkError for any path. 
> Fixed by delegating to JavaLangAccess.load. Also renamed findLibrary 
> as loadLibrary in Runtime to be consistent.
>
> Webrev: 
> http://cr.openjdk.java.net/~sundar/libraries_load_broken/webrev.00/index.html
>
> Thanks,
> -Sundar



More information about the panama-dev mailing list