src/jdk.attach/windows/classes/sun/tools/attach/VirtualMachineImpl.java
changeset 53858 e7cf035682e3
parent 49610 6790b1077a3f
child 54065 f984aca565c1
--- a/src/jdk.attach/windows/classes/sun/tools/attach/VirtualMachineImpl.java	Wed Feb 20 09:43:01 2019 -0800
+++ b/src/jdk.attach/windows/classes/sun/tools/attach/VirtualMachineImpl.java	Wed Feb 20 11:36:02 2019 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -77,7 +77,7 @@
     InputStream execute(String cmd, Object ... args)
         throws AgentLoadException, IOException
     {
-        assert args.length <= 3;        // includes null
+        assert args.length <= 4;        // includes null
 
         // create a pipe using a random name
         Random rnd = new Random();