diff --git a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java index 645f35da7f4..e5543d37c8a 100644 --- a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java +++ b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java @@ -104,7 +104,7 @@ protected CommandSessionImpl(CommandProcessorImpl shell, CommandSessionImpl pare 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);