Report error on non-existent classpath in -Xplugin
#KT-52380 Fixed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-Xplugin
|
||||
non-existing-file.jar
|
||||
-Xjsr305
|
||||
strict
|
||||
$TESTDATA_DIR$/simple.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xplugin=...
|
||||
warning: advanced option value is passed in an obsolete form. Please use the '=' character to specify the value: -Xjsr305=...
|
||||
OK
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
$TESTDATA_DIR$/simple.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-Xplugin=/non-existing-path
|
||||
@@ -0,0 +1,2 @@
|
||||
error: plugin classpath entry points to a non-existent location: /non-existing-path
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user