JDK 8 code review request for 8005298 Add FunctionalInterface type to the core libraries

Florian Weimer fweimer at redhat.com
Wed Jan 16 16:16:54 UTC 2013

On 01/16/2013 05:08 PM, Brian Goetz wrote:
> There is a benefit for languages *other* than Java, that can use this as a means to determine whether the interface is suitable for passing to the SAM conversion machinery.

But this would miss non-annotated classes, wouldn't it?

(If javac is supposed to synthesize this annotation on interfaces which 
are of SAM type, but not yet annotated as such, then this should be 
mentioned in the documentation.)

Florian Weimer / Red Hat Product Security Team

More information about the core-libs-dev mailing list