changeset 35054:309d5a6a63e9

Merge
author dsamersoff
date Thu, 10 Dec 2015 19:59:10 +0000
parents e115919465d0 cd0fc9dee122
children 71b977f05ea6
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/SAGetopt.java	Thu Dec 10 17:07:03 2015 +0000
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/SAGetopt.java	Thu Dec 10 19:59:10 2015 +0000
@@ -37,7 +37,7 @@
     private boolean _optreset; // special handling of first call
 
     public SAGetopt(String[] args) {
-        _argv  = args;
+        _argv  = args.clone();
         _optind   = 0;
         _optopt   = 1;
         _optarg   = null;