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

Clarify conditions for 'interface' invocation mode

    XMLWordPrintable

Details

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

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: