8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs
authormiauno
Tue, 03 Feb 2015 12:49:13 +0100
changeset 28827 a94bd8effda9
parent 28826 81fdc0e7d49e
child 28828 6a45344e2b3f
8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs Reviewed-by: jbachorik, sla
hotspot/test/serviceability/dcmd/gc/HeapDumpTest.java
--- a/hotspot/test/serviceability/dcmd/gc/HeapDumpTest.java	Tue Feb 03 12:26:40 2015 +0100
+++ b/hotspot/test/serviceability/dcmd/gc/HeapDumpTest.java	Tue Feb 03 12:49:13 2015 +0100
@@ -51,7 +51,7 @@
     }
 
     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);