mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Remove usage of private JDK class "sun.misc.Signal" (REVISIT)
This commit is contained in:
parent
804f8dc17b
commit
cce16c8522
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user