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

javadoc, started without a java file should display command line options help

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0.2
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Verified

      Description

      javadoc: when you start javadoc without the name of a *.java file for parsing, javadoc
      exits with :
      javadoc: No packages or classes specified.
      java.lang.NullPointerException
      at sun.tools.javadoc.Main.error(Main.java:48)
      at sun.tools.javadoc.Main.main(Main.java:162)

      It should exit gracefully, with some simple command line options help.

      Steps to reproduce
      run javadoc

        Attachments

          Activity

            People

            Assignee:
            tballsunw Tom Ball (Inactive)
            Reporter:
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: