You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2019/01/02 10:09:00 UTC
[jira] [Commented] (KARAF-6070) deadlock on System.exit()
[ https://issues.apache.org/jira/browse/KARAF-6070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731907#comment-16731907 ]
Jean-Baptiste Onofré commented on KARAF-6070:
---------------------------------------------
Can you please describe the bug in english please ?
> deadlock on System.exit()
> -------------------------
>
> Key: KARAF-6070
> URL: https://issues.apache.org/jira/browse/KARAF-6070
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: cellar-4.0.5
> Environment: window 2012
> Reporter: 楊帆
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: starter
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 在BundleActivator.start(BundleContext)中,如果异常,我使用System.exit去让karaf关闭造成了死锁,最后超时关闭,我没有找到相关的log,在官方文档里也没有相关的超时说明.
> 我另起一个线程异步调用System.exit可以解决这个问题,但是我不知道这样做对不对?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)