Move to JDK_X_Y variables
This commit is contained in:
@@ -23,13 +23,13 @@ enum class TestJdkKind(val requiresSeparateProcess: Boolean = false) {
|
||||
// Also, now it contains new methods in java.lang.String introduced in JDK 11
|
||||
MODIFIED_MOCK_JDK,
|
||||
|
||||
// JDK found at $JDK_16
|
||||
// JDK found at $JDK_1_6
|
||||
FULL_JDK_6(requiresSeparateProcess = true),
|
||||
|
||||
// JDK found at $JDK_11
|
||||
// JDK found at $JDK_11_0
|
||||
FULL_JDK_11(requiresSeparateProcess = true),
|
||||
|
||||
// JDK found at $JDK_17
|
||||
// JDK found at $JDK_17_0
|
||||
FULL_JDK_17(requiresSeparateProcess = true),
|
||||
|
||||
// JDK found at java.home
|
||||
|
||||
+3
-3
@@ -145,17 +145,17 @@ public class KtTestUtil {
|
||||
|
||||
@NotNull
|
||||
public static File getJdk6Home() {
|
||||
return getJdkHome("JDK_6", "JDK_16");
|
||||
return getJdkHome("JDK_1_6", "JDK_6", "JDK_16");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static File getJdk8Home() {
|
||||
return getJdkHome("JDK_8", "JDK_18");
|
||||
return getJdkHome("JDK_1_8", "JDK_8", "JDK_18");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static File getJdk11Home() {
|
||||
return getJdkHome("JDK_11");
|
||||
return getJdkHome("JDK_11_0", "JDK_11");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user