8008089: Delete OS dependent check in JdkFinder.getExecutable()
authorykantser
Wed, 13 Feb 2013 10:24:24 +0100
changeset 16015 e8c0f5a0908a
parent 16014 3b0464b381cc
child 16016 70e2e77626ec
8008089: Delete OS dependent check in JdkFinder.getExecutable() Reviewed-by: egahlin, alanb
jdk/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java
--- a/jdk/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java	Tue Feb 19 20:52:39 2013 -0800
+++ b/jdk/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java	Wed Feb 13 10:24:24 2013 +0100
@@ -38,10 +38,6 @@
         }
 
         binPath += File.separatorChar + "bin" + File.separatorChar + executable;
-        File toolFile = new File(binPath);
-        if (!toolFile.exists()) {
-            throw new RuntimeException(binPath + " does not exist");
-        }
 
         return binPath;
     }