changeset 16015:e8c0f5a0908a

8008089: Delete OS dependent check in JdkFinder.getExecutable() Reviewed-by: egahlin, alanb
author ykantser
date Wed, 13 Feb 2013 10:24:24 +0100
parents 3b0464b381cc
children 70e2e77626ec
files jdk/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }