changeset 3607:69fac04eda38

6902615: Method JTextComponent.getKeyStrokesForAction() throws StackOverflowError Reviewed-by: peterz
author rupashka
date Thu, 27 Jan 2011 14:23:42 +0300
parents b45ea2c3bd6d
children ec066e903b84
files src/share/classes/javax/swing/text/Keymap.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/text/Keymap.java	Mon Jan 24 18:04:37 2011 +0300
+++ b/src/share/classes/javax/swing/text/Keymap.java	Thu Jan 27 14:23:42 2011 +0300
@@ -137,6 +137,8 @@
     /**
      * Sets the parent keymap, which will be used to
      * resolve key-bindings.
+     * The behavior is unspecified if a {@code Keymap} has itself
+     * as one of its resolve parents.
      *
      * @param parent the parent keymap
      */