--- a/jdk/src/share/classes/java/awt/TextArea.java Tue Jan 15 21:57:47 2013 +0400
+++ b/jdk/src/share/classes/java/awt/TextArea.java Wed Jan 16 17:26:41 2013 +0400
@@ -123,7 +123,7 @@
* Cache the Sets of forward and backward traversal keys so we need not
* look them up each time.
*/
- private static Set forwardTraversalKeys, backwardTraversalKeys;
+ private static Set<AWTKeyStroke> forwardTraversalKeys, backwardTraversalKeys;
/*
* JDK 1.1 serialVersionUID
@@ -143,10 +143,10 @@
}
forwardTraversalKeys = KeyboardFocusManager.initFocusTraversalKeysSet(
"ctrl TAB",
- new HashSet());
+ new HashSet<AWTKeyStroke>());
backwardTraversalKeys = KeyboardFocusManager.initFocusTraversalKeysSet(
"ctrl shift TAB",
- new HashSet());
+ new HashSet<AWTKeyStroke>());
}
/**