--- 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());