changeset 7785:d817c3987d6c

8072403: [TESTBUG] HeapDumpTest and HeapDumpAllTest fails to find jhat in non-JDK runs Reviewed-by: jbachorik, sla
author miauno
date Tue, 03 Feb 2015 12:49:13 +0100
parents 7e84c2e6bdd2
children 79f4205419d2
files test/serviceability/dcmd/gc/HeapDumpTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/dcmd/gc/HeapDumpTest.java	Tue Feb 03 12:26:40 2015 +0100
+++ b/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);