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

4.4: Fix type variable example which assumes public interface members

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7
    • Fix Version/s: tbd_major
    • Component/s: specification
    • Labels:

      Description

      A DESCRIPTION OF THE PROBLEM :
      In Section 4.4, the documentation states that "<...> The members of an interface are always public, and therefore always inherited (unless overridden).".

      However, later in the text it is stated that "A method in the body of an interface may be declared public or private (§6.6)."


      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/specs/jls/se9/html/jls-4.html#jls-4.4

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: