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

BufferedImage.getHeight(ImageObserver) and getWidth() should always know h/w

XMLWordPrintable

    • 2d
    • 1.4
    • sparc
    • solaris_7

      When a BufferedImage is created, the height and width of the BufferedImage is always known. However, the spec for BufferedImage.getWidth(ImageObserver) and BufferedImage.getHeight(ImageObserver) state " If the width/height is not known yet then the ImageObserver is notified later and -1 is returned." These statements are incorrect and are not needed in the spec.

            bae Andrew Brygin
            pjr Paul Rank (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: