RFE: Insufficient API documentation for java.awt.Polygon constructor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • 2d
    • Fix Understood
    • x86
    • windows_nt



      Name: rmT116609 Date: 10/01/2002



      DESCRIPTION OF THE PROBLEM :
      The API documentation for the java.awt.Polygon constructor Polygon(int[] xpoints, int[] ypoints, int npoints) does not state whether the constructor makes copies of the xpoints and ypoints arrays or if it just records them. My tests indicate that the constructor makes copies of the arrays.
      And yes, it would be dangerous if it didn't.

      (Review ID: 165188)
      ======================================================================

            Assignee:
            Alexey Ushakov
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: