Scripting invalidate compiled cache if a dependency is missing

#KT-48303 fixed
This commit is contained in:
Ilya Chernikov
2021-08-18 12:58:44 +02:00
committed by TeamCityServer
parent e60e80f19a
commit 61e5f68b8d
4 changed files with 146 additions and 63 deletions
@@ -5,7 +5,6 @@
package kotlin.script.experimental.jvm.impl
import org.jetbrains.annotations.TestOnly
import java.io.*
import java.net.URL
import java.net.URLClassLoader
@@ -94,7 +93,6 @@ open class KJvmCompiledScript internal constructor(
)
}
@TestOnly
fun getCompiledModule() = compiledModule
private fun writeObject(outputStream: ObjectOutputStream) {