Virtual extension methods -- second draft
forax at univ-mlv.fr
Sun Jun 13 04:50:59 PDT 2010
Le 12/06/2010 21:34, Brian Goetz a écrit :
>>>> Taking the section more literally, it appears to be discussing runtime
>>>> dispatch of an invokeinterface invocation where the receiver type in
>>>> the constant pool is D.
>>> Or an invokedynamic.
>> There is only one problem with invokedynamic.
>> Invokedynamic requires a bootstrap method and the current spec says
>> that there is only one bootstrap method for the whole class.
>> If defender methods are implemented using invokedynamic,
>> developers will not be able to specify their own a bootstrap method.
> I was afraid you were going to say that.
> Is there no way to specify a bootstrap method on a per-call-site basis?
This is an open issue.
More information about the lambda-dev