File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/process Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,10 @@ private var idCounter: Long = 0
74
74
private fun EngineProcessModel.setup (kryoHelper : KryoHelper , watchdog : IdleWatchdog , realProtocol : IProtocol ) {
75
75
val model = this
76
76
watchdog.measureTimeForActiveCall(setupUtContext, " UtContext setup" ) { params ->
77
+ // we use parent classloader with null to disable autoload classes from system classloader
77
78
UtContext .setUtContext(UtContext (URLClassLoader (params.classpathForUrlsClassloader.map {
78
79
File (it).toURI().toURL()
79
- }.toTypedArray())))
80
+ }.toTypedArray(), null )))
80
81
}
81
82
watchdog.measureTimeForActiveCall(getSpringBeanDefinitions, " Getting Spring bean definitions" ) { params ->
82
83
try {
You can’t perform that action at this time.
0 commit comments