We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6842f7 commit 1cb8c00Copy full SHA for 1cb8c00
1 file changed
utbot-framework/src/main/kotlin/org/utbot/framework/process/EngineProcessMain.kt
@@ -74,9 +74,10 @@ private var idCounter: Long = 0
74
private fun EngineProcessModel.setup(kryoHelper: KryoHelper, watchdog: IdleWatchdog, realProtocol: IProtocol) {
75
val model = this
76
watchdog.measureTimeForActiveCall(setupUtContext, "UtContext setup") { params ->
77
+ // we use parent classloader with null to disable autoload classes from system classloader
78
UtContext.setUtContext(UtContext(URLClassLoader(params.classpathForUrlsClassloader.map {
79
File(it).toURI().toURL()
- }.toTypedArray())))
80
+ }.toTypedArray(), null)))
81
}
82
watchdog.measureTimeForActiveCall(getSpringBeanDefinitions, "Getting Spring bean definitions") { params ->
83
try {
0 commit comments