hotspot/test/runtime/CommandLine/PrintTouchedMethods.java
changeset 38089 9e58203ef0e2
parent 36851 03e2f4d0a421
child 40631 ed82623d7831
--- a/hotspot/test/runtime/CommandLine/PrintTouchedMethods.java	Tue Apr 26 11:05:11 2016 +0200
+++ b/hotspot/test/runtime/CommandLine/PrintTouchedMethods.java	Tue Apr 26 13:22:32 2016 +0300
@@ -106,7 +106,7 @@
       output.shouldHaveExitValue(0);
 
       // Test jcmd PrintTouchedMethods VM.print_touched_methods
-      String pid = Integer.toString(ProcessTools.getProcessId());
+      String pid = Long.toString(ProcessTools.getProcessId());
       pb = new ProcessBuilder();
       pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.print_touched_methods"});
       output = new OutputAnalyzer(pb.start());