langtools/test/tools/javac/T6705935.java
changeset 27579 d1a63c99cdd5
parent 27319 030080f03e4f
child 30730 d3ce7619db2c
--- a/langtools/test/tools/javac/T6705935.java	Tue Nov 18 15:25:18 2014 -0800
+++ b/langtools/test/tools/javac/T6705935.java	Wed Dec 03 14:25:46 2014 +0000
@@ -41,8 +41,6 @@
 
     public void run() throws Exception {
         File java_home = new File(System.getProperty("java.home"));
-        if (java_home.getName().equals("jre"))
-            java_home = java_home.getParentFile();
 
         JavaCompiler c = ToolProvider.getSystemJavaCompiler();
         try (StandardJavaFileManager fm = c.getStandardFileManager(null, null, null)) {