Julian Sedding created OAK-3473:
-----------------------------------
Summary: CliUtils#handleSigInt uses classes from sun.misc.*
Key: OAK-3473
URL: https://issues.apache.org/jira/browse/OAK-3473
Project: Jackrabbit Oak
Issue Type: Bug
Components: upgrade
Affects Versions: 1.3.7
Reporter: Julian Sedding
Assignee: Julian Sedding
{{CliUtils#handleSigInt()}} introduced with OAK-2171 uses {{sun.misc.Signal}}
and {{sun.misc.SignalHandler}} to gracefully shut down after e.g. {{Ctrl+C}}.
Instead of using internal and sun specific APIs, this should be implemented
using a [shutdown
hook|http://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#addShutdownHook-java.lang.Thread-].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)