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

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

    XMLWordPrintable

Details

    • 1.0.2
    • x86
    • windows_nt
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: