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

Spec for java.awt.Rectangle.intersection() method is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • docs
    • beta
    • sparc
    • solaris_2.6



      Name: acR10002 Date: 12/03/2000


      The specification for java.awt.Rectangle.intersection(Rectangle) method says nothing
      about the returned result if there is no intersection for two rectangles at all.
      In fact, the implementation returns new Rectangle(0,0,0,0). This should be reflected
      in the spec.

      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            aycsunw Ayc Ayc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: