# HG changeset patch # User ykantser # Date 1360747464 -3600 # Node ID e8c0f5a0908a66701882599e559616bdb1272db4 # Parent 3b0464b381cc7e90703b877efcc5050b73f3ff6c 8008089: Delete OS dependent check in JdkFinder.getExecutable() Reviewed-by: egahlin, alanb diff -r 3b0464b381cc -r e8c0f5a0908a 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; }