From a659a2d435190d5060148034f4f23eec2ea9cc88 Mon Sep 17 00:00:00 2001 From: ykantser Date: Wed, 13 Feb 2013 10:24:24 +0100 Subject: [PATCH] 8008089: Delete OS dependent check in JdkFinder.getExecutable() Reviewed-by: egahlin, alanb --- test/lib/testlibrary/jdk/testlibrary/JdkFinder.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java b/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java index fa038facc..d109778f2 100644 --- a/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java +++ b/test/lib/testlibrary/jdk/testlibrary/JdkFinder.java @@ -38,10 +38,6 @@ public final class JdkFinder { } binPath += File.separatorChar + "bin" + File.separatorChar + executable; - File toolFile = new File(binPath); - if (!toolFile.exists()) { - throw new RuntimeException(binPath + " does not exist"); - } return binPath; } -- GitLab