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

Discuss observer=null in drawImage()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 5.0
    • client-libs
    • 2d
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      In all of the drawImage() methods of class Graphics, the perception is that if one sets observer to null, the call will be blocking and is guaranteed to complete the operation by the time it returns. I say that it is "perceived" to be true because the vast majority of source-code I see in the wild makes this assumption so I assume it is true as well.

      This should really be spelled out explicitly in the Javadoc: is this true or not? What happens if observer is equal to null?


      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics.html
      ###@###.### 2005-05-13 09:54:59 GMT

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: