changeset 48559:607d78d0e6f7

8176450: Revise default document styling Reviewed-by: prr, serb, mschoene
author psadhukhan
date Thu, 23 Mar 2017 10:52:00 +0530
parents b2b67c8fc91a
children 46e99460e8c9
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	Mon Jun 12 13:58:09 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();
     }
 
     /**