Propagate cordApp classloader to shell [CORDA-1228] (#2833)

This commit is contained in:
igor nitto
2018-03-16 13:28:04 +00:00
committed by GitHub
parent 06ec20379c
commit 286d1e5add

View File

@ -302,7 +302,7 @@ abstract class AbstractNode(val configuration: NodeConfiguration,
if (configuration.rpcOptions.address == null) { if (configuration.rpcOptions.address == null) {
throw ConfigurationException("Cannot init CrashShell because node RPC address is not set (via 'rpcSettings' option).") throw ConfigurationException("Cannot init CrashShell because node RPC address is not set (via 'rpcSettings' option).")
} }
InteractiveShell.startShell(configuration.toShellConfig()) InteractiveShell.startShell(configuration.toShellConfig(), cordappLoader.appClassLoader)
} }
} }