Test cases related to JSR 292

John Rose john.r.rose at oracle.com
Fri Apr 22 10:29:09 PDT 2011


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.  I added a comment in the structure summary:

// required attribute on any class containing CONSTANT_InvokeDynamic_info:
struct BootstrapMethods_attr {

-- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110422/a0310535/attachment-0001.html 


More information about the mlvm-dev mailing list