Temporary add another env variable JDK_15_0 that is set on TC agents
This commit is contained in:
@@ -414,6 +414,11 @@ public class KotlinTestUtils {
|
|||||||
@NotNull
|
@NotNull
|
||||||
public static File getJdk15Home() {
|
public static File getJdk15Home() {
|
||||||
String jdk15 = System.getenv("JDK_15");
|
String jdk15 = System.getenv("JDK_15");
|
||||||
|
|
||||||
|
if (jdk15 == null) {
|
||||||
|
jdk15 = System.getenv("JDK_15_0");
|
||||||
|
}
|
||||||
|
|
||||||
if (jdk15 == null) {
|
if (jdk15 == null) {
|
||||||
throw new AssertionError("Environment variable JDK_15 is not set!");
|
throw new AssertionError("Environment variable JDK_15 is not set!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user