Function types versus arrays
Neal Gafter
neal at gafter.com
Mon Feb 15 00:43:42 PST 2010
On Fri, Feb 12, 2010 at 3:18 PM, John Rose <John.Rose at sun.com> wrote:
> Add an explicit casting conversion from FT to any function type. It does a runtime check against some attribute query (e.g., MethodHandle.type).
Where will this attribute come from? If the lambda appears inside a
generic method, the compiler cannot produce it statically. And unless
generics are reified, it cannot be generated dynamically either.
More information about the lambda-dev
mailing list