[foreign] RFR: add missing Lookup parameters on bind/bindRaw

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue May 15 11:53:07 UTC 2018



On 15/05/18 12:50, Maurizio Cimadamore wrote:
> Hi,
> as per yesterday cleanup, the Libraries API now takes a 
> MethodHandles.Lookup that is used to perform caller-sensitive native 
> library searches. The methods bind/bindRaw (the versions _not_ 
> accepting an explicit Library object) should also get same treatment. 
> Moreover, there should be a check for filtering out non-private lookup 
> objects.
>
> I've updated few tests to add missing lookup object parameter, and 
> also added a new variant of BindTest which checks for 
> IllegalArgumentException in case a bad lookup object (a public one) is 
> supplied.
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/panama/cleanup-v2/
Wrong link

here's the correct one:

http://cr.openjdk.java.net/~mcimadamore/panama/lookup-bind-v2/

Maurizio
>
> Cheers
> Maurizio
>



More information about the panama-dev mailing list