javadoc reports error but still returns 0

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: tools

      If there are no public or protected class found by javadoc, it reports this as an error but returns 0.

      Foo.java:
      class Foo { }

      javadoc Foo.java
      Loading source file Foo.java...
      Constructing Javadoc information...
      javadoc: error - No public or protected classes found to document.

      return value is 0, does not match the fact that an error was reported.
      Maybe this should be a warning, or it should return non-zero.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Steve Sides (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: