8176450: Revise default document styling
authorpsadhukhan
Thu, 23 Mar 2017 10:52:00 +0530
changeset 48559 607d78d0e6f7
parent 48558 b2b67c8fc91a
child 48560 46e99460e8c9
8176450: Revise default document styling Reviewed-by: prr, serb, mschoene
src/java.desktop/share/classes/javax/swing/text/DefaultEditorKit.java
--- 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();
     }
 
     /**