Javadoc in 9 seems to treat all interfaces with only one method as functional interfaces

Paul Benedict pbenedict at apache.org
Thu Mar 20 20:19:04 UTC 2014


It's a bug because it was an early decision in JDK 8 that got changed:
http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/2013-November/002379.html

And then the change:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-January/024165.html



On Thu, Mar 20, 2014 at 2:51 PM, Florian Weimer <fw at deneb.enyo.de> wrote:

> * Daniel Fuchs:
>
> > While playing with JDK 9 javadoc command I noticed that it
> > seems to treat all single method interfaces as if they were
> > functional interfaces - even though they don't have the
> > @FunctionalInterface annotation.
>
> Does it take inheritence into account?  If yes, why is this even a
> bug?
>



-- 
Cheers,
Paul



More information about the core-libs-dev mailing list