felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1105) Make Thread in LocalConsole not a daemon thread
Date Thu, 30 Apr 2009 07:13:30 GMT

    [ 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:
new Thread(this, "localShell").start();

> 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.

View raw message