RFC: Refactoring SystemABI
    Maurizio Cimadamore 
    maurizio.cimadamore at oracle.com
       
    Tue Dec  4 15:07:57 UTC 2018
    
    
  
On 04/12/2018 14:23, Jorn Vernee wrote:
> We have Scope::allocateCallback to replace step 2. and 3., but that 
> requires an annotated functional interface object. What if a user just 
> has a MethodHandle? 
Not sure I follow - a Callback is based on the idea that you _do have_ a 
functional interface.
I don't think it makes sense to mix the abstraction levels - the binder 
will represent all callbacks using Callback, so I don't expect a user of 
the high-level binder to mess with SystemABI interface to allocate stubs.
Maurizio
    
    
More information about the panama-dev
mailing list