We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6228805 commit a175904Copy full SHA for a175904
src/main/kotlin/com/tschuchort/compiletesting/KotlinCompilation.kt
@@ -460,6 +460,7 @@ class KotlinCompilation {
460
"toolsJar must not be null on JDK 8 or earlier if it's classes aren't already on the classpath"
461
}
462
463
+ require(toolsJar!!.exists()) { "toolsJar file does not exist" }
464
(ClassLoader.getSystemClassLoader() as URLClassLoader).addUrl(toolsJar!!.toURI().toURL())
465
466
0 commit comments