mirror of
https://github.com/corda/corda.git
synced 2024-12-21 13:57:54 +00:00
TEMP disable use of "sun.misc.VMSupport" (re-instate with module add-exports directive)
This commit is contained in:
parent
579a95b849
commit
b8fb617ee1
@ -32,7 +32,7 @@ import net.corda.tools.shell.InteractiveShell
|
||||
import org.fusesource.jansi.Ansi
|
||||
import org.slf4j.bridge.SLF4JBridgeHandler
|
||||
import picocli.CommandLine.Mixin
|
||||
import sun.misc.VMSupport
|
||||
//import sun.misc.VMSupport
|
||||
import java.io.IOException
|
||||
import java.io.RandomAccessFile
|
||||
import java.lang.management.ManagementFactory
|
||||
@ -251,10 +251,10 @@ open class NodeStartup : NodeStartupLogging {
|
||||
logger.info("VM ${info.vmName} ${info.vmVendor} ${info.vmVersion}")
|
||||
logger.info("Machine: ${lookupMachineNameAndMaybeWarn()}")
|
||||
logger.info("Working Directory: ${cmdLineOptions.baseDirectory}")
|
||||
val agentProperties = VMSupport.getAgentProperties()
|
||||
if (agentProperties.containsKey("sun.jdwp.listenerAddress")) {
|
||||
logger.info("Debug port: ${agentProperties.getProperty("sun.jdwp.listenerAddress")}")
|
||||
}
|
||||
// val agentProperties = VMSupport.getAgentProperties()
|
||||
// if (agentProperties.containsKey("sun.jdwp.listenerAddress")) {
|
||||
// logger.info("Debug port: ${agentProperties.getProperty("sun.jdwp.listenerAddress")}")
|
||||
// }
|
||||
var nodeStartedMessage = "Starting as node on ${conf.p2pAddress}"
|
||||
if (conf.extraNetworkMapKeys.isNotEmpty()) {
|
||||
nodeStartedMessage = "$nodeStartedMessage with additional Network Map keys ${conf.extraNetworkMapKeys.joinToString(prefix = "[", postfix = "]", separator = ", ")}"
|
||||
|
Loading…
Reference in New Issue
Block a user