Fix creating of the script definition from legacy template
adding classpath needed to load template and related class to the appropriate host configuration fixes tests
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ class JvmGetScriptingClass : GetScriptingClass, Serializable {
|
||||
return try {
|
||||
(classLoader ?: ClassLoader.getSystemClassLoader()).loadClass(classType.typeName).kotlin
|
||||
} catch (e: Throwable) {
|
||||
throw IllegalArgumentException("unable to load class $classType", e)
|
||||
throw IllegalArgumentException("unable to load class ${classType.typeName}", e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user