[cp-patches] FYI: JComponent.getVerifyInputWhenFocusTarget() fix

David Gilbert david.gilbert at object-refinery.com
Wed Jun 28 15:03:44 UTC 2006


This small patch (committed) fixes a failing Mauve test:

2006-06-28  David Gilbert  <david.gilbert at object-refinery.com>

	* javax/swing/JComponent.java
	(verifyInputWhenFocusTarget): Initialise to true.

Regards,

Dave
-------------- next part --------------
Index: javax/swing/JComponent.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JComponent.java,v
retrieving revision 1.134
diff -u -r1.134 JComponent.java
--- javax/swing/JComponent.java	28 Jun 2006 14:13:40 -0000	1.134
+++ javax/swing/JComponent.java	28 Jun 2006 14:59:39 -0000
@@ -717,7 +717,7 @@
   private ComponentInputMap inputMap_whenInFocusedWindow;
   private ActionMap actionMap;
   /** @since 1.3 */
-  private boolean verifyInputWhenFocusTarget;
+  private boolean verifyInputWhenFocusTarget = true;
   private InputVerifier inputVerifier;
 
   private TransferHandler transferHandler;


More information about the Classpath-patches mailing list