John Rose
(JSR 292 spec leader)
recently push a great patch that enables support
for method handles inside the VM.
A java.dyn.MethodHandle is a safe object that stands for
a function pointer but unlike a function pointer, calling a method handle
with wrong arguments raise an exception.
The aim of method handles (with invokedynamic) is to ease
the support of dynamic languages by...