<AWT Dev> [8] Review Request: 8022657 Add FunctionalInterface annotation to awt interfaces
Artem Ananiev
artem.ananiev at oracle.com
Thu Oct 17 07:10:51 PDT 2013
Hi, Sergey,
we have a number of listener interfaces in java.awt.event, some of them
have a single method, others have multiple. For consistency, I would
refrain from marking some of them as @FunctionalInterfaces (though it's
technically possible).
KeyEventDispatcher and KeyEventPostProcessor are fine.
Thanks,
Artem
On 10/16/2013 8:03 PM, Sergey Bylokhov wrote:
> Hello.
> Please review the fix for jdk 8.
> Some of the classes in awt were marked as FunctionalInterface.
>
> List of all suggested classes
> http://mail.openjdk.java.net/pipermail/awt-dev/2013-February/004213.html
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8022657
> Webrev can be found at: http://cr.openjdk.java.net/~serb/8022657/webrev.00
>
More information about the awt-dev
mailing list