From c4082357aa573bfdec76dd2df587bb01294377f7 Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 24 Nov 2016 19:49:47 +0300 Subject: [PATCH] [gui-test] mac jre path fix --- .../com/intellij/testGuiFramework/framework/GuiTestUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestUtil.java b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestUtil.java index beec2fd9ad56..d728092e977f 100644 --- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestUtil.java +++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/framework/GuiTestUtil.java @@ -849,7 +849,7 @@ public final class GuiTestUtil { ArrayList 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; }