Javadoc in 9 seems to treat all interfaces with only one method as functional interfaces (original) (raw)

Bhavesh Patel bhavesh.x.patel at oracle.com
Mon Mar 17 23:12:04 UTC 2014


Will forward port it. I will send an email once it is done.

Regards, Bhavesh.

----- Original Message ----- From: michel.trudeau at oracle.com To: Alan.Bateman at oracle.com, bhavesh.x.patel at oracle.com Cc: daniel.fuchs at oracle.com, core-libs-dev at openjdk.java.net Sent: Monday, March 17, 2014 3:50:43 PM GMT -08:00 US/Canada Pacific Subject: Re: Javadoc in 9 seems to treat all interfaces with only one method as functional interfaces

Bhavesh,

Can you take care of this ? Create a forward port bug to 9 and then do the push for it.

Thanks, Michel

Alan Bateman wrote:

On 17/03/2014 16:28, Daniel Fuchs wrote:

Hi guys,

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. For instance - I did 'make docs' - and I'm seeing this text in the javadoc for 'java.awt.event.ActionListener': >> Functional Interface: This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference. << Is that a known issue, or a new regression, or did I miss something? Is this JDK-8029143? From what I can tell, it hasn't been forward ported to jdk9/dev yet. -Alan.



More information about the core-libs-dev mailing list