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

Rectangle methods should improve handling of overflow

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.1, 1.4.2
    • client-libs
    • None
    • 2d
    • sparc
    • solaris_2.6

      This bug is a spin-off of bug 4491273. Several Rectangle methods need to improve their handling of mathematical under/overflow. They currently do not check for this.

      The methods are:
      add(int, int)
      add(Point)
      add(Rectangle)
      translate(int, int)
      grow(int, int)

            flar Jim Graham
            sharonz Sharon Zakhour (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: