static inner class does not have a containing class

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: tools
    • None
    • beta
    • sparc
    • solaris_2.5.1
    • Verified

      Found since JDK1.2fcs-L.

      The only case found so far is java.awt.RenderingHints.Key.

      To show/reproduce the problem, run the following command:

      javadoc -sourcepath ../classes/ -doclet Inner -package java.awt

      results, RenderingHints.java and Inner.java are attached.
      In the results, java.awt.RenderingHints.Key does not have a containing class.

      dianne.jiao@East 1998-10-07

      This has something to do with -bootclasspath.

      I have two copies of RenderingHints.java: one with inner class and one without. (This was caused by recent change made to RenderingHints.java)

      To reproduce the problem, run javadoc on old java.awt package without unsetting bootclasspath, RenderingHints.Key shown as a regular class.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: