-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Hi,
What is wrong with this code ?
POSIX posix = POSIXFactory.getPOSIX();
posix.signal(Signal.SIGUSR1, new SignalHandler() {
@Override
public void handle(int i) {
System.out.println("handle: " + i);
}
});
kill -s USR1 <PID>
gives me a nullPointerException during the call of NativeClosureProxy.getCallable()
Tested on : Operating System: Red Hat Enterprise Linux Server 7.4 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.4:GA:server
Kernel: Linux 3.10.0-693.el7.x86_64
Architecture: x86-64
jnr.posix
3.0.29 (and 3.1.15')
Note : same exception with LibC part of jnr
Metadata
Metadata
Assignees
Labels
No labels