changeset 9720:e7ee9639a485

Merge
author dsamersoff
date Thu, 10 Dec 2015 19:59:10 +0000
parents e9693bc77db0 d90fdd0e1b32
children 62d332b0f1ab
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/SAGetopt.java	Thu Dec 10 17:07:03 2015 +0000
+++ b/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;