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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      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.

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: