Don't use hardcoded getJdkHome's parameters as fallback in KtTestUtil.java
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ public class KtTestUtil {
|
|||||||
if (otherProp != null) {
|
if (otherProp != null) {
|
||||||
return getJdkHome(otherProp, null, prop);
|
return getJdkHome(otherProp, null, prop);
|
||||||
} else {
|
} else {
|
||||||
return getJdkHome("JDK_8", "JDK_18");
|
throw new AssertionError("Environment variable " + propToReport + " is not set!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new File(jdk);
|
return new File(jdk);
|
||||||
|
|||||||
Reference in New Issue
Block a user