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

java.awt.geom.Arc2D.Double: doc's not clear

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_7

      Description



      Name: sdR10048 Date: 12/20/2002


      JDK1.4.2b10 doc says:

      > public Arc2D.Double(int type)
      >
      > Constructs a new arc, initialized to location (0, 0), size (0, 0),
      > angular extents (start = 0, extent = 0), and the specified closure
      > type.
      >
      > Parameters:
      > type - The closure type for the arc: OPEN, CHORD, or PIE.

      It is not specified here what if 'type' is invalid (not one of these
      three ints).

      The same problem about:

      public Arc2D.Double(double, double, double, double, double, double, int type)
      public Arc2D.Double(Rectangle2D, double, double, int type)

      Should be stated explicitly as it noted in
      "Requirements for Writing Java API Specifications":
      http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
      Need for jck test development.
      Since it will touch javadoc CCC request needed.
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            avu Alexey Ushakov
            Reporter:
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: