changeset 17355:02129012d08b

8176450: Revise default document styling Reviewed-by: prr, serb, mschoene
author psadhukhan
date Thu, 23 Mar 2017 10:52:00 +0530
parents 1e9f856c76dc
children b3c405df7af0
files src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java	Thu Mar 16 16:16:31 2017 -0400
+++ b/src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java	Thu Mar 23 10:52:00 2017 +0530
@@ -110,7 +110,7 @@
      * @return the command list
      */
     public Action[] getActions() {
-        return defaultActions;
+        return defaultActions.clone();
     }
 
     /**