mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public class HeapDumpTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void verifyHeapDump(String fileName) {
|
private void verifyHeapDump(String fileName) {
|
||||||
String jhat = JDKToolFinder.getTestJDKTool("jhat");
|
String jhat = JDKToolFinder.getJDKTool("jhat");
|
||||||
String[] cmd = { jhat, "-parseonly", "true", fileName };
|
String[] cmd = { jhat, "-parseonly", "true", fileName };
|
||||||
|
|
||||||
ProcessBuilder pb = new ProcessBuilder(cmd);
|
ProcessBuilder pb = new ProcessBuilder(cmd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue