harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r640914 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java
Date Tue, 25 Mar 2008 17:54:00 GMT
Author: ayza
Date: Tue Mar 25 10:53:57 2008
New Revision: 640914

URL: http://svn.apache.org/viewvc?rev=640914&view=rev
Log:
Applying patch from HARMONY-5527 ([classlib][awt] Canvas paint method works incorrectly)

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java?rev=640914&r1=640913&r2=640914&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Canvas.java
Tue Mar 25 10:53:57 2008
@@ -119,7 +119,7 @@
     public void paint(Graphics g) {
         toolkit.lockAWT();
         try {
-            // just do nothing
+            g.clearRect(0, 0, w, h);
         } finally {
             toolkit.unlockAWT();
         }



Mime
View raw message