corda/classpath/java/lang/invoke
Joel Dice 2465459079 implement basic Java 8 lambda support
The two big pieces here are basic invokedynamic support and a working
version of LambdaMetaFactory.metafactory.  The latter works by
dynamically building a synthetic class with three methods: a static
factory method, a constructor for the factory method to call, and a
method to satisfy the requested interface which defers to the
specified MethodHandle.

This work relies heavily on Avian's specific MethodType and
MethodHandle implementations, which provide extra, non-standard
features to make code generation easier.  That means we'll probably
need to use Avian's versions of java.lang.invoke.* even when building
with the OpenJDK or Android class libraries.
2015-08-06 13:30:18 -06:00
..
CallSite.java implement basic Java 8 lambda support 2015-08-06 13:30:18 -06:00
LambdaConversionException.java first pass at minimal invokedynamic support for Java 8 lambdas 2015-08-06 13:30:05 -06:00
LambdaMetafactory.java implement basic Java 8 lambda support 2015-08-06 13:30:18 -06:00
MethodHandle.java implement basic Java 8 lambda support 2015-08-06 13:30:18 -06:00
MethodHandles.java implement basic Java 8 lambda support 2015-08-06 13:30:18 -06:00
MethodType.java implement basic Java 8 lambda support 2015-08-06 13:30:18 -06:00