[ 
https://issues.apache.org/jira/browse/OAK-3473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Sedding resolved OAK-3473.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.8

Fixed in [r1706784|https://svn.apache.org/r1706784] by registering a shutdown 
hook instead.

[~tomek.rekawek] does this cover your original use-case?

> 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
>             Fix For: 1.3.8
>
>
> {{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)

Reply via email to