Youssef Shoaib [MOD]
05/10/2025, 12:10 PMdmitriy.novozhilov
05/10/2025, 12:15 PMYoussef Shoaib [MOD]
05/10/2025, 12:33 PMNoClassDefFoundError
even though I have added my jar as a JVM classpath rootdmitriy.novozhilov
05/12/2025, 7:01 AMNCDFE
Youssef Shoaib [MOD]
05/12/2025, 7:02 AMRuntimeClasspathProvider
. There's a different template on the Kotlin repo that has it, so I adapted the code from thatYoussef Shoaib [MOD]
05/12/2025, 8:07 AMCaused by: java.lang.ClassNotFoundException: kotlin.coroutines.jvm.internal.SpillingKt
even though I have +JvmEnvironmentConfigurationDirectives.STDLIB_JDK8
.dmitriy.novozhilov
05/12/2025, 8:10 AMSTDLIB_JDK8
adds kotlin-stdlib-jdk8.jar
only to compile classpath, not box runtime classpath.
It seems there is no code in the framework itself which will add it to the box classloader, so you'll need to add testServices.standardLibrariesPathProvider.runtimeJarForTestsWithJdk8()
in the RuntimeClasspathProvider
by yourself