Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
In order to be compositional, invokedynamic instructions should individually specify their linkage semantics, in the form of a reference to a bootstrap method. This is fairly straightforward, since (a) the constant pool already contains method handle references, and (b) the invokedynamic index can be treated as an ordered pair of BSM and NameAndType, just as an invokevirtual index is treated as an ordered pair of class and NameAndType. The Java language support will need a way (presumably based on JSR 308 annotations) to specify the bootstrap methods.
|