Skip to content

Commit a5f56fe

Browse files
committed
Always try to discover JDK home by default
1 parent a3817c8 commit a5f56fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/tschuchort/compiletesting/KotlinCompilation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class KotlinCompilation {
211211
* (on JDK8) or --system none (on JDK9+). This can be useful if all
212212
* the JDK classes you need are already on the (inherited) classpath.
213213
* */
214-
var jdkHome: File? = if(inheritClassPath) null else getJdkHome()
214+
var jdkHome: File? = getJdkHome()
215215

216216
/**
217217
* Path to the kotlin-stdlib.jar

0 commit comments

Comments
 (0)