--- a/jdk/test/demo/jvmti/DemoRun.java Mon Nov 09 07:38:05 2009 -0800
+++ b/jdk/test/demo/jvmti/DemoRun.java Mon Nov 09 12:38:32 2009 -0800
@@ -145,7 +145,7 @@
*/
int nvm_options = 0;
if ( vm_options != null ) nvm_options = vm_options.length;
- String cmd[] = new String[1 + (d64?1:0) + 5 + nvm_options];
+ String cmd[] = new String[1 + (d64?1:0) + 7 + nvm_options];
String cmdLine;
int exitStatus;
int i,j;
@@ -154,6 +154,10 @@
cmdLine = "";
cmdLine += (cmd[i++] = java);
cmdLine += " ";
+ cmdLine += (cmd[i++] = "-cp");
+ cmdLine += " ";
+ cmdLine += (cmd[i++] = cdir);
+ cmdLine += " ";
cmdLine += (cmd[i++] = "-Dtest.classes=" + cdir);
if ( d64 ) {
cmdLine += " ";