[ 
https://issues.apache.org/jira/browse/KARAF-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492610#comment-14492610
 ] 

Guillaume Nodet commented on KARAF-3650:
----------------------------------------

Fwiw, the diagnostic boot is not used as an OSGi bundle and the exceptions are 
caught to take care about the fact that sun.misc.Signal and related needed 
classes are not available.

Though I've just seen that we only catch Exception, and we may want to catch 
Throwable instead.

> diagnostic.boot should not depend to sun.misc package
> -----------------------------------------------------
>
>                 Key: KARAF-3650
>                 URL: https://issues.apache.org/jira/browse/KARAF-3650
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.3, 4.0.0.M2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Christian Schneider
>             Fix For: 4.0.0, 3.0.4
>
>
> Currently, the diagnostic.boot bundle Activator uses sun.misc.Signal and 
> SignalHandler to deal with HUP signal and react accordingly.
> This code tight this bundle to Oracle/SUN JDK and can provide issue with IBM 
> JDK.
> We should set that the import is optional, and use a more flexible code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to