Changeset: ec7888f9229a
Author:jrose
Date: 2011-04-22 01:48 -0700
URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/ec7888f9229a
meth: update meth-conv, add fix for 7016250
! meth-conv-6939861.patch
+ meth-ret-7016250.patch
! series
___
Changeset: dbba306c0a08
Author:jrose
Date: 2011-04-22 01:53 -0700
URL: http://hg.openjdk.java.net/mlvm/mlvm/rev/dbba306c0a08
meth: add fix for 7016250
! netbeans/meth/nbproject/build-impl.xml
! netbeans/meth/nbproject/genfiles.properties
! netbeans/meth/nbproject/project.properties
Le 22 avr. 2011 à 07:42, [email protected] a écrit :
>
> Le 21 avr. 2011 à 21:36, Rémi Forax a écrit :
>
>> On 04/21/2011 09:20 PM, [email protected] wrote:
>>> Le 21 avr. 2011 à 19:07, John Rose a écrit :
>>>
On Apr 21, 2011, at 9:41 AM, [email protected] wrote:
> Thanks for the information.
On 04/22/2011 07:42 AM, [email protected] wrote:
> Le 21 avr. 2011 à 21:36, Rémi Forax a écrit :
>
>> On 04/21/2011 09:20 PM, [email protected] wrote:
>>> Le 21 avr. 2011 à 19:07, John Rose a écrit :
>>>
On Apr 21, 2011, at 9:41 AM, [email protected] wrote:
> Thanks for the information.
> I wond
>> This is a possibility, hoping that the entry ticket to the ASM API is not to
>> high.
>>
>> While developing the code to read/write a JDK7 class file, I noticed what I
>> think
>> is a typo on the
>> "http://download.java.net/jdk7/docs/api/java/lang/invoke/package-summary.html";
>> page. The
The 'equivalent' code doesn't compile:
MethodHandle invoker = MethodHandles.genericInvoker(type);
int spreadArgCount = type.parameterCount - objectArgCount;
invoker = invoker.asSpreader(Object[].class, spreadArgCount);
return invoker;
at the second line, parameterCount should be parameterCount()