Report error on non-existent classpath in -Xplugin

#KT-52380 Fixed
This commit is contained in:
Alexander Udalov
2022-05-25 00:52:37 +02:00
parent c45a3d39b1
commit 70121f0c78
6 changed files with 25 additions and 7 deletions
@@ -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