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

Some warning messages do not mention class name where warning exists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • None

      Warning messages are inconsistent in Javadoc and doclets.

      Many warning messages that Javadoc emits properly show the fully qualified
      name of the member where the problem exists:

         Warning: java.awt.Scrollbar.Scrollbar(): Unsupported HTML tag
         in documentation comment "</table>"

      However not all messages do this. For example:

         Warning: Tag @see: Class or Package not found: java.awtScrollbar#setValues

      Also, some begin with "warning" (above), while others begin with "javadoc":

         javadoc: warning - java.awt.SystemColor.getRGB(): Tag @see: can't find
         getBlue(int) in java.awt.Color

      It would be easier to scan down the list if they were consistent.
      If it makes the line too long to include the fully-qualified class name,
      then at least give the raw class name.

            gafter Neal Gafter (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: