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

Add FunctionalInterface support to the platform

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Other
    • P4
    • 8
    • 8
    • core-libs
    • generic
    • generic

    Description

      As part of the Project Lambda, it would be helpful to have an annotation type, say, named FunctionalInterface, which would allow a programmer to declare an interface type should meet the definition of a functional interface. This would allow compile-time checking analogous to that done with @Override.

      Attachments

        Activity

          People

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: