Kotlinc: catch FileNotFoundException caused by problematic destination.

This commit is contained in:
scaventz
2021-01-28 11:53:27 +08:00
committed by Alexander Udalov
parent 149282a888
commit 28452fc38e
14 changed files with 103 additions and 7 deletions
@@ -0,0 +1,4 @@
ERR:
error: directory not found: [Temp]/clashingFile
Return code: 1
@@ -0,0 +1 @@
class Test
@@ -0,0 +1 @@
Return code: 0
@@ -0,0 +1 @@
class Test
@@ -0,0 +1,4 @@
ERR:
error: error while writing [Temp]/noPermissionDir/Test.class (Permission denied)
Return code: 1
@@ -0,0 +1 @@
class Test
@@ -0,0 +1,4 @@
ERR:
error: invalid jar path: [Temp]/clashingFile/test.jar
Return code: 1
@@ -0,0 +1 @@
class Test
@@ -0,0 +1,4 @@
ERR:
error: invalid jar path: [Temp]/noPermissionDir/test.jar
Return code: 1
@@ -0,0 +1 @@
class A