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

Discuss observer=null in drawImage()

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ndcosta Nelson Dcosta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: