JVM: allow -jvm-target 1.8 with -Xjdk-release=1.6
#KT-59098
This commit is contained in:
committed by
Space Team
parent
1bc08fc5b8
commit
12f393791b
@@ -251,6 +251,9 @@ public abstract class AbstractCliTest extends TestCaseWithTmpdir {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (arg.equals("$JDK_1_8")) return KtTestUtil.getJdk8Home().getAbsolutePath();
|
||||
if (arg.equals("$JDK_11_0")) return KtTestUtil.getJdk11Home().getAbsolutePath();
|
||||
|
||||
String argWithColonsReplaced = arg
|
||||
.replace("\\:", "$COLON$")
|
||||
.replace(":", File.pathSeparator)
|
||||
|
||||
Reference in New Issue
Block a user