From cce16c852295c1fdb74623df82552cb49b698488 Mon Sep 17 00:00:00 2001 From: josecoll Date: Tue, 14 May 2019 18:35:19 +0100 Subject: [PATCH] Remove usage of private JDK class "sun.misc.Signal" (REVISIT) --- node/src/main/java/CordaCaplet.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node/src/main/java/CordaCaplet.java b/node/src/main/java/CordaCaplet.java index 134582426c..1db5c51b89 100644 --- a/node/src/main/java/CordaCaplet.java +++ b/node/src/main/java/CordaCaplet.java @@ -3,7 +3,7 @@ // trying to construct this from Capsule, so it is written in Java. import com.typesafe.config.*; -import sun.misc.Signal; +//import sun.misc.Signal; import java.io.File; import java.nio.file.Path; @@ -216,9 +216,9 @@ public class CordaCaplet extends Capsule { @Override protected void liftoff() { super.liftoff(); - Signal.handle(new Signal("INT"), signal -> { - // Disable Ctrl-C for this process, so the child process can handle it in the shell instead. - }); +// Signal.handle(new Signal("INT"), signal -> { +// // Disable Ctrl-C for this process, so the child process can handle it in the shell instead. +// }); } private Boolean isJAR(File file) {