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

Clarify conditions for 'interface' invocation mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • specification
    • None
    • Verified

      15.12.3 says that the invocation mode for a method invocation is 'interface' if

      "the compile-time declaration is in an interface"

      The word "in" could be interpreted in various ways (example: declared by an interface or inherited by an interface?) It would be more precise to say:

      "the qualifying type of the method invocation is an interface"

            abuckley Alex Buckley
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: