Test cases related to JSR 292
forum at x9c.fr
forum at x9c.fr
Tue Apr 26 22:40:27 PDT 2011
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
More information about the mlvm-dev
mailing list