diff test/gc/TestVerifyDuringStartup.java @ 12260:22194f27fbfb

8014905: [TESTBUG] Some hotspot tests should be updated to divide test jdk and compile jdk Summary: Change JDKToolFinder to look in compile.jdk if the executable cannot be found in test.jdk Reviewed-by: dholmes, hseigel
author ctornqvi
date Tue, 17 Sep 2013 16:55:53 +0200
parents ceda33ff54a3
children
line wrap: on
line diff
--- a/test/gc/TestVerifyDuringStartup.java	Fri Sep 13 16:55:44 2013 -0700
+++ b/test/gc/TestVerifyDuringStartup.java	Tue Sep 17 16:55:53 2013 +0200
@@ -48,7 +48,7 @@
                                              "-XX:+VerifyDuringStartup",
                                              "-version"});
 
-    System.out.print("Testing:\n" + JDKToolFinder.getCurrentJDKTool("java"));
+    System.out.print("Testing:\n" + JDKToolFinder.getJDKTool("java"));
     for (int i = 0; i < vmOpts.size(); i += 1) {
       System.out.print(" " + vmOpts.get(i));
     }