--- old/langtools/test/jdk/javadoc/tool/6964914/TestStdDoclet.java 2016-08-08 16:38:25.000000000 -0700 +++ new/langtools/test/jdk/javadoc/tool/6964914/TestStdDoclet.java 2016-08-08 16:38:25.000000000 -0700 @@ -47,8 +47,6 @@ */ void run() throws Exception { File javaHome = new File(System.getProperty("java.home")); - if (javaHome.getName().equals("jre")) - javaHome = javaHome.getParentFile(); File javadoc = new File(new File(javaHome, "bin"), "javadoc"); File testSrc = new File(System.getProperty("test.src")); @@ -57,11 +55,6 @@ String thisClassName = TestStdDoclet.class.getName(); List cmdArgs = new ArrayList<>(); cmdArgs.add(javadoc.getPath()); - int i = 0; - String prop; - while ((prop = System.getProperty("jdk.launcher.patch." + (i++))) != null) { - cmdArgs.add("-J-Xpatch:" + prop); - } cmdArgs.addAll(Arrays.asList( "-classpath", ".", // insulates us from ambient classpath "-Xdoclint:none",