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

Doclet API: static initializers need special handling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.1.7, 1.2.0, 1.3.0
    • tools
    • beta
    • generic, sparc
    • generic, solaris_2.5.1
    • Verified

      Tested in JDK1.2Beta4-E.

      static {...} in source code tmp.java will cause "Methods inherited .." table starts with "," in tmp.html(tmp.java in attached):

       slappy 158 =>javadoc -package tmp.java
      Loading source file tmp.java...
      Constructing Javadoc information...
      Building tree for all the packages and classes...
      Building index for all the packages and classes...
      Generating tree.html...
      Generating index-all.html...
      Generating deprecatedlist.html...
      Building index for all classes...
      Generating allclasses-frame.html...
      Generating index.html...
      Generating tmp.html...
      Generating serializedform.html...
      Generating help.html...
      Generating stylesheet.css...
       slappy 159 =>

      dianne.jiao@East 1998-05-11
      Another problem with javadoc's handling of static {...} in source code: it is indexed under character "<" in file index-all.html.

            gafter Neal Gafter (Inactive)
            dyjiao Dianne Jiao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: