You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Method handle invocation

Method handles have several modes of invocation, involving various degrees of type checking and conversion.

Every method handle invocation takes into account two independent sources of type information.  The caller (whose call site is invoking the method handle) specifies the calling method type implicitly by the choice of the call descriptor in the call site bytecode.  The callee (i.e., the method handle being invoked)

They include:

  • Exact invocation:  The invokeExact method requires the caller and callee

asdf

  • No labels