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

Declares interfaces to be "abstract"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.2
    • 1.2.0
    • tools
    • 1.2.2
    • generic
    • generic

      The standard doclet describes interfaces as "... abstract interface ...",
      because ClassDoc.modifiers() (actually ProgramElementDocImpl.modifiers())
      calls java.lang.reflect.Modifier.toString() which prints the "abstract".
      It is unclear where the buck should stop, but the final result is unacceptable
      and is a regression vs. JDK1.1 javadoc. The JLS 9.1.2 states:

      Every interfaxe is implicitly abstract. This modifier is obsolete
      and should not be used in new Java programs.

      robert.field@Eng 1999-02-09

            adambalksunw Atul Dambalkar (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: