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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: