From 117108f45631da44fe7f2097c254f784cd8d8f1e Mon Sep 17 00:00:00 2001 From: Chris Rankin Date: Thu, 13 Feb 2020 09:25:28 +0000 Subject: [PATCH] ENT-4921: Ensure that CorDapp classloader is not lost with graceful reconnect. (#5954) --- .../src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/rpc/src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt b/client/rpc/src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt index d5642df3e1..8b43e35a26 100644 --- a/client/rpc/src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt +++ b/client/rpc/src/main/kotlin/net/corda/client/rpc/CordaRPCClient.kt @@ -20,7 +20,6 @@ import net.corda.core.serialization.SerializationWhitelist import net.corda.core.serialization.internal.effectiveSerializationEnv import net.corda.core.utilities.NetworkHostAndPort import net.corda.core.utilities.days -import net.corda.core.utilities.loggerFor import net.corda.core.utilities.minutes import net.corda.core.utilities.seconds import net.corda.nodeapi.internal.ArtemisTcpTransport.Companion.rpcConnectorTcpTransport @@ -614,7 +613,8 @@ class CordaRPCClient private constructor( addresses, configuration, gracefulReconnect, - sslConfiguration + sslConfiguration, + classLoader ) } else { CordaRPCConnection(getRpcClient().start(