RFR 8068901: Surprising behavior with more than one functional interface on a class , 8068903: Can't invoke vararg @FunctionalInterface methods

Attila Szegedi attila.szegedi at oracle.com
Tue Sep 1 11:25:27 UTC 2015


Elegant small solution with use of dyn:callMethod.

One small thing:
  ClassValue<Method> FUNCTIONAL_IFACE_METHOD
could now be
  ClassValue<String> FUNCTIONAL_IFACE_METHOD_NAME
instead.

> On Sep 1, 2015, at 1:00 PM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
> 
> Please review http://cr.openjdk.java.net/~sundar/8068901_8068903/ for https://bugs.openjdk.java.net/browse/JDK-8068901 and https://bugs.openjdk.java.net/browse/JDK-8068903
> 
> Thanks,
> -Sundar



More information about the nashorn-dev mailing list