< prev index next >

test/sun/tools/jcmd/TestJcmdSanity.java

Print this page

        

@@ -69,11 +69,11 @@
         OutputAnalyzer output = JcmdBase.jcmd(VM_ARGS,
                 new String[] {"help"});
 
         output.shouldHaveExitValue(0);
         output.shouldNotContain("Exception");
-        output.shouldContain(Integer.toString(ProcessTools.getProcessId()) + ":");
+        output.shouldContain(Long.toString(ProcessTools.getProcessId()) + ":");
         matchJcmdCommands(output);
         output.shouldContain("For more information about a specific command use 'help <command>'.");
     }
 
     /**
< prev index next >