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

stddoclet: Javadoc warnings for main() method do not specify the enclosing clas

XMLWordPrintable

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



      Name: bsC130419 Date: 05/25/2001


      java version "1.3.0_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
      Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)

      Typically javadoc gives warnings messages that state the full classname from
      which the warning originated, like:

      javadoc: warning - Method suncertify.db.DataServer.getRecord
              documents that it throws java.io.IOException,
              but does not declare it.

      However, when I run it over a class DataServer it gives this warning for the
      main method, which doesnt not specify the enclosing class and thus makes it
      very diffcult to locater the problem in a large codebase:

      javadoc: warning - main: @param tag has no arguments.

      The method javadoc showing the @param problem is:
          /**
           * Creates a data delegate, then DataServer, and exports to RMI registry.
           * @param
           */
          public static void main(String[] args) {
             etc, etc
          }
      (Review ID: 124879)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: