You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by jb...@apache.org on 2019/01/22 14:36:59 UTC
svn commit: r1851825 -
/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
Author: jbonofre
Date: Tue Jan 22 14:36:59 2019
New Revision: 1851825
URL: http://svn.apache.org/viewvc?rev=1851825&view=rev
Log:
[FELIX-5963] This closes #168
Modified:
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
Modified: felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java?rev=1851825&r1=1851824&r2=1851825&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java (original)
+++ felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java Tue Jan 22 14:36:59 2019
@@ -104,7 +104,7 @@ public class CommandSessionImpl implemen
protected CommandSessionImpl(CommandProcessorImpl shell, InputStream in, OutputStream out, OutputStream err)
{
this.currentDir = Paths.get(System.getProperty("user.dir")).toAbsolutePath().normalize();
- this.executor = Executors.newCachedThreadPool();
+ this.executor = Executors.newCachedThreadPool(ThreadUtils.namedThreadFactory("session"));
this.processor = shell;
ReadableByteChannel inCh = Channels.newChannel(in);
WritableByteChannel outCh = Channels.newChannel(out);