steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
275 stars 110 forks source link

Bump jSerialComm for fixed POSIX signal handling #138

Closed sirhcel closed 1 year ago

sirhcel commented 1 year ago

jSerialComm 2.8.5 overeagerly blocks SIGINT and SIGTERM which prevents normally terminating the Java application/VM. For example, stopping with systemd takes way longer than necessary (when the process gets SIGKILL-ed after a timeout) and shutdown hooks will not be run.

SIGTERM and SIGINT are no longer blocked with jSerialComm 2.9.1 and this commit bumps the dependency to the most recent release 2.9.3.