[gui-test] mac jre path fix

This commit is contained in:
Sergey Karashevich
2016-11-25 11:41:17 +03:00
parent 919848da89
commit c4082357aa
@@ -849,7 +849,7 @@ public final class GuiTestUtil {
ArrayList<JdkBundle> bundleList = SwitchBootJdkAction.findJdkPaths().toArrayList();
//we believe that Idea has at least one bundled jdk
JdkBundle jdkBundle = bundleList.get(0);
String homeSubPath = SystemInfo.isMac ? "/Contents/Home/jre" : "";
String homeSubPath = SystemInfo.isMac ? "/Contents/Home" : "";
return jdkBundle.getLocation().getAbsolutePath() + homeSubPath;
}