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

14.10: Clarify that the "top-level class" may be an interface

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: specification
    • Labels:

      Description

      It is possible for an 'assert' statement to be lexically enclosed by an interface (in a nested class, anonymous class, or default method). 14.10 only speaks of classes and ought to instead use the phrase "top level class or interface" where necessary.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: