You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/04/30 09:13:30 UTC
[jira] Commented: (FELIX-1105) Make Thread in LocalConsole not a
daemon thread
[ https://issues.apache.org/jira/browse/FELIX-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704507#action_12704507 ]
Guillaume Nodet commented on FELIX-1105:
----------------------------------------
AFAIK, the thread is not a daemon thread.
See https://svn.apache.org/repos/asf/felix/trunk/karaf/gshell/gshell-core/src/main/java/org/apache/servicemix/kernel/gshell/core/LocalConsole.java
The init method have the following code:
{code}
new Thread(this, "localShell").start();
{code}
> Make Thread in LocalConsole not a daemon thread
> -----------------------------------------------
>
> Key: FELIX-1105
> URL: https://issues.apache.org/jira/browse/FELIX-1105
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Reporter: Alin Dreghiciu
> Priority: Minor
>
> When using the LocalConsole in Equinox without console, equinox will exit if their own console is not there (and is not there because we use GShell) unless there is a non daemon thread. So, just mark the created thread as non daemon thread.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.