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

static inner class does not have a containing class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.4.0
    • 1.2.0
    • 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.

            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: