Set java.class.path property in runner and loader
#KT-24991 fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
import java.io.File
|
||||
|
||||
val classPathFromProp = System.getProperty("java.class.path")
|
||||
|
||||
val jarFromProps = classPathFromProp.split(File.pathSeparator).firstOrNull { it.contains("kotlin-compiler") }
|
||||
|
||||
println(jarFromProps?.let { File(it).name } ?: "kotlin-compiler not found in the java.class.path property: $classPathFromProp")
|
||||
Reference in New Issue
Block a user