Merge
authordsamersoff
Thu, 10 Dec 2015 19:59:10 +0000
changeset 35054 309d5a6a63e9
parent 35052 e115919465d0 (current diff)
parent 35053 cd0fc9dee122 (diff)
child 35057 71b977f05ea6
Merge
--- 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;