Wrong error message emitted, 'No public or protected classes found to document'

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: tools
    • None

      For JDK 1.4 build 81
      ====================

      jtools-sqe:/home/vr128054/vertest/4496625 25 % javadoc -J-version
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b81)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b81, mixed mode)

      For the following testcase, part of verification for 4496625
      ============================================================

      jtools-sqe:/home/vr128054/vertest/4496625 26 % more t.java
      public class t
      {
      }

      public class t
      {
      }

      Javadoc has the following behaviour
      ====================================

      jtools-sqe:/home/vr128054/vertest/4496625 27 % javadoc t.java
      Loading source file t.java...
      Constructing Javadoc information...
      t.java:5: duplicate class: t
      public class t
             ^
      Standard Doclet version 1.4 beta (04 Aug 2001)

      javadoc: No public or protected classes found to document.
      1 error
      1 warning

      ===============================================================
      And it is reporting "no public" classes to document while there is one barring
      the duplicate. this error message is not relevant.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Ra Vijayan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: