8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs

Reviewed-by: jbachorik, sla
This commit is contained in:
Mikael Auno 2015-02-03 12:49:13 +01:00
parent eb67830333
commit 5ae2ec81e7

View File

@ -51,7 +51,7 @@ public class HeapDumpTest {
}
private void verifyHeapDump(String fileName) {
String jhat = JDKToolFinder.getTestJDKTool("jhat");
String jhat = JDKToolFinder.getJDKTool("jhat");
String[] cmd = { jhat, "-parseonly", "true", fileName };
ProcessBuilder pb = new ProcessBuilder(cmd);