ENT-4921: Ensure that CorDapp classloader is not lost with graceful reconnect. (#5954)

This commit is contained in:
Chris Rankin 2020-02-13 09:25:28 +00:00 committed by GitHub
parent c6ab07d92c
commit 117108f456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(