From 1823ba1c485c3e6a159910b4ab8afa6d20a2208a Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 14 Mar 2019 14:28:25 +0100 Subject: [PATCH] Fix deserialization of the compiled script #KT-29741 fixed --- .../script/experimental/jvmhost/impl/KJvmCompiledScript.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/scripting/jvm-host/src/kotlin/script/experimental/jvmhost/impl/KJvmCompiledScript.kt b/libraries/scripting/jvm-host/src/kotlin/script/experimental/jvmhost/impl/KJvmCompiledScript.kt index ea88aecf9db..8bb48f450ce 100644 --- a/libraries/scripting/jvm-host/src/kotlin/script/experimental/jvmhost/impl/KJvmCompiledScript.kt +++ b/libraries/scripting/jvm-host/src/kotlin/script/experimental/jvmhost/impl/KJvmCompiledScript.kt @@ -101,7 +101,7 @@ class KJvmCompiledScript( _compilationConfiguration = null _sourceLocationId = inputStream.readObject() as String? _otherScripts = inputStream.readObject() as List> - compiledModule = inputStream.readObject() as KJvmCompiledModule + compiledModule = inputStream.readObject() as KJvmCompiledModule? scriptClassFQName = inputStream.readObject() as String }