In UIManager.MultiplexUIDefaults we must not clear the fallback
defaults, thus I removed the clear() method. Most of the harmony swing
tests immediately failed (or rather, error'ed) because they call
UIManager.getDefaults().clear() right before running the actual tests.

2006-06-21  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/UIManager.java
        (MultiplexUIDefaults.clear): Removed method. The fallback
UIDefaults
        must not be cleared.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake
Index: javax/swing/UIManager.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/UIManager.java,v
retrieving revision 1.36
diff -u -1 -0 -r1.36 UIManager.java
--- javax/swing/UIManager.java	21 Jun 2006 09:59:23 -0000	1.36
+++ javax/swing/UIManager.java	21 Jun 2006 13:42:17 -0000
@@ -176,26 +176,20 @@
     }
 
     public Object remove(Object key)
     {
       Object val = super.remove(key);
       if (val == null)
         val = fallback.remove(key);
       return val;
     }
 
-    public void clear()
-    {
-      super.clear();
-      fallback.clear();
-    }
-
     public int size()
     {
       return super.size() + fallback.size();
     }
 
     public Enumeration keys()
     {
       return new MultiplexEnumeration(super.keys(), fallback.keys());
     }
 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to