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
7474private fun EngineProcessModel.setup (kryoHelper : KryoHelper , watchdog : IdleWatchdog , realProtocol : IProtocol ) {
7575 val model = this
7676 watchdog.measureTimeForActiveCall(setupUtContext, " UtContext setup" ) { params ->
77+ // we use parent classloader with null to disable autoload classes from system classloader
7778 UtContext .setUtContext(UtContext (URLClassLoader (params.classpathForUrlsClassloader.map {
7879 File (it).toURI().toURL()
79- }.toTypedArray())))
80+ }.toTypedArray(), null )))
8081 }
8182 watchdog.measureTimeForActiveCall(getSpringBeanDefinitions, " Getting Spring bean definitions" ) { params ->
8283 try {
You can’t perform that action at this time.
0 commit comments