Don't use hardcoded getJdkHome's parameters as fallback in KtTestUtil.java

This commit is contained in:
Victor Petukhov
2021-12-09 17:26:31 +03:00
parent e558575aec
commit d8366a2861
@@ -124,7 +124,7 @@ public class KtTestUtil {
if (otherProp != null) {
return getJdkHome(otherProp, null, prop);
} else {
return getJdkHome("JDK_8", "JDK_18");
throw new AssertionError("Environment variable " + propToReport + " is not set!");
}
}
return new File(jdk);