Le 22 avr. 2011 à 19:29, John Rose a écrit :

> On Apr 22, 2011, at 7:42 AM, Rémi Forax wrote:
>>> 
>>> My first move would be to regard this attribute as reserved to a "Code" 
>>> attribute,
>>> but it seems that data sharing would be increased by putting it a the class 
>>> level.
>> 
>> The BootstrapMethods attribute is a class attribute.
>> And you're right that this is not written anywhere :(
>> We should fix that too.
> 
> Current javadoc:
> 
>  * <h3><a name="bsmattr"></a>the {@code BootstrapMethods} attribute </h3>
>  * Each {@code CONSTANT_InvokeDynamic} entry contains an index which 
> references
>  * a bootstrap method specifier; all such specifiers are contained in a 
> separate array.
>  * This array is defined by a class attribute named {@code BootstrapMethods}.
> 
> This seems to cover it.

You are right; I did not read carefully.
Sorry for the noise.


Regards,

Xavier

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to