CLI: improve error message for -Xjdk-release=1.6/1.7
#KT-66174 Fixed
This commit is contained in:
committed by
Space Team
parent
5f261d3ad0
commit
939a74add3
@@ -0,0 +1,8 @@
|
||||
-Xjdk-release=1.6
|
||||
-jvm-target
|
||||
9
|
||||
-jdk-home
|
||||
$JDK_11_0
|
||||
$TESTDATA_DIR$/jdkRelease.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
@@ -0,0 +1,2 @@
|
||||
error: '-Xjdk-release=1.6' option conflicts with '-jvm-target 9'. Please change the value of the 'jvm-target' option to 1.8
|
||||
COMPILATION_ERROR
|
||||
@@ -1,2 +1,2 @@
|
||||
error: '-Xjdk-release=1.6' option requires explicit JVM target. Please specify the '-jvm-target' option
|
||||
error: '-Xjdk-release=1.6' option requires JVM target explicitly set to 1.8. Please specify the '-jvm-target' option
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user