changeset 12682:31fa3567edc6

8176458: Revise default document styling Reviewed-by: prr, serb, mschoene
author psadhukhan
date Fri, 31 Mar 2017 11:39:24 +0530
parents 8a9b075a2c82
children b93888d14d2c
files src/share/classes/javax/swing/text/DefaultEditorKit.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/text/DefaultEditorKit.java	Thu Mar 30 22:29:57 2017 -0700
+++ b/src/share/classes/javax/swing/text/DefaultEditorKit.java	Fri Mar 31 11:39:24 2017 +0530
@@ -109,7 +109,7 @@
      * @return the command list
      */
     public Action[] getActions() {
-        return defaultActions;
+        return defaultActions.clone();
     }
 
     /**