mirror of
https://github.com/corda/corda.git
synced 2025-03-24 21:16:12 +00:00
CORDA-1369 set co.paralleluniverse.fibers.verifyInstrumentation=true in devMode (#3137)
This commit is contained in:
parent
4f9bbc8820
commit
759ed7c3d0
@ -6,6 +6,8 @@ release, see :doc:`upgrade-notes`.
|
|||||||
|
|
||||||
Unreleased
|
Unreleased
|
||||||
==========
|
==========
|
||||||
|
* Set co.paralleluniverse.fibers.verifyInstrumentation=true in devMode.
|
||||||
|
|
||||||
* Node will now gracefully fail to start if one of the required ports is already in use.
|
* Node will now gracefully fail to start if one of the required ports is already in use.
|
||||||
|
|
||||||
* Node will now gracefully fail to start if ``devMode`` is true and ``compatibilityZoneURL`` is specified.
|
* Node will now gracefully fail to start if ``devMode`` is true and ``compatibilityZoneURL`` is specified.
|
||||||
|
@ -203,6 +203,7 @@ abstract class AbstractNode(val configuration: NodeConfiguration,
|
|||||||
open fun start(): StartedNode<AbstractNode> {
|
open fun start(): StartedNode<AbstractNode> {
|
||||||
check(started == null) { "Node has already been started" }
|
check(started == null) { "Node has already been started" }
|
||||||
if (configuration.devMode) {
|
if (configuration.devMode) {
|
||||||
|
System.setProperty("co.paralleluniverse.fibers.verifyInstrumentation", "true")
|
||||||
Emoji.renderIfSupported { Node.printWarning("This node is running in developer mode! ${Emoji.developer} This is not safe for production deployment.") }
|
Emoji.renderIfSupported { Node.printWarning("This node is running in developer mode! ${Emoji.developer} This is not safe for production deployment.") }
|
||||||
}
|
}
|
||||||
log.info("Node starting up ...")
|
log.info("Node starting up ...")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user