langtools/test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java
changeset 27579 d1a63c99cdd5
parent 14963 974d4423c999
child 30730 d3ce7619db2c
--- a/langtools/test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java	Tue Nov 18 15:25:18 2014 -0800
+++ b/langtools/test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java	Wed Dec 03 14:25:46 2014 +0000
@@ -56,8 +56,6 @@
 
     static void run_javac(String... args) throws IOException, InterruptedException {
         File javaHome = new File(System.getProperty("java.home"));
-        if (javaHome.getName().equals("jre"))
-            javaHome = javaHome.getParentFile();
         File javac = new File(new File(javaHome, "bin"), "javac");
 
         List<String> opts = new ArrayList<>();