javadoc lets off an 'abstract native' method just with a warning.

XMLWordPrintable

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

      Consider the following program,
      -------------------------------
      jtools-sqe:/home/vr128054/vertest/work 278 % more test.java
      public class test
      {
              public final abstract void methodOne ()
              {
              }
      }


      this is a negative test case written to check conformance to JLS as a final method cannot be 'abstract'.

      Find Javadoc's behaviour below..
      --------------------------------

      jtools-sqe:/home/vr128054/vertest/work 279 % javadoc test.java
      Loading source file test.java...
      Constructing Javadoc information...
      test.java:3: illegal combination of modifiers: abstract and final
              public final abstract void methodOne ()
                                         ^
      Standard Doclet version 1.4 beta (04 Aug 2001)

      Building tree for all the packages and classes...
      Building index for all the packages and classes...
      Generating overview-tree.html...
      Generating index-all.html...
      Generating deprecated-list.html...
      Building index for all classes...
      Generating allclasses-frame.html...
      Generating allclasses-noframe.html...
      Generating index.html...
      Generating packages.html...
      Generating test.html...
      Generating package-list...
      Generating help-doc.html...
      Generating stylesheet.css...
      1 warning

            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: