jdk/test/javax/xml/ws/8033113/WsImportTest.java
changeset 29483 eb59a7c15e95
parent 23727 c7c05d5eb440
--- a/jdk/test/javax/xml/ws/8033113/WsImportTest.java	Wed Jul 05 20:24:25 2017 +0200
+++ b/jdk/test/javax/xml/ws/8033113/WsImportTest.java	Fri Mar 13 15:50:39 2015 +0300
@@ -140,9 +140,6 @@
 
     private static String getWsImport() {
         String javaHome = System.getProperty("java.home");
-        if (javaHome.endsWith("jre")) {
-            javaHome = new File(javaHome).getParent();
-        }
         String wsimport = javaHome + File.separator + "bin" + File.separator + "wsimport";
         if (System.getProperty("os.name").startsWith("Windows")) {
             wsimport = wsimport.concat(".exe");