Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101983

Add @FunctionalInterface to EventHandler, Callback

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      The @FunctionalInterface annotation was added in Java 8 and is intended to be used to annotate an interface which is meant to always be a Single Abstract Method interface, such as is meant to be used by lambda expressions. We ought to add this annotation to any SAM interfaces in the public API.

      This will require we build against Java 8.

            msladecek Martin Sládeček
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: