8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
Reviewed-by: jbachorik, sla
This commit is contained in:
parent
eb67830333
commit
5ae2ec81e7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user