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

javadoc problems referencing inner class constructors

XMLWordPrintable

    • b08
    • Verified

        Javadoc has problems with references to inner class constructors, such as Path2D.Float#Float(Shape, AffineTransform)

        I would expect to be able to write
            @see Path2D.Float#Float(Shape, AffineTransform)

        with the names Path2D, Shape and AffineTransform being resolved with imports (either explicit, or import-on-demand) and with .Float being resolved against Path2D and #Float being "resolved" as a constructor name.

        Instead, the nearest I can get to work is:
        @see java.awt.geom.Path2D.Float#Path2D.Float(java.awt.Shape, java.awt.geom.AffineTransform)

        i.e. fully qualified names, and #Path2D.Float, which is not a syntactically valid member name, so doclint complains.

        Filing as a P2 because this is preventing clean docs builds of JDK 8 and up.

              bpatel Bhavesh Patel (Inactive)
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: