summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ThreadPoolCurrent.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/ThreadPoolCurrent.java')
-rw-r--r--java/src/IceInternal/ThreadPoolCurrent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/IceInternal/ThreadPoolCurrent.java b/java/src/IceInternal/ThreadPoolCurrent.java
index ed4e6b85919..c7d0e59bf35 100644
--- a/java/src/IceInternal/ThreadPoolCurrent.java
+++ b/java/src/IceInternal/ThreadPoolCurrent.java
@@ -14,7 +14,7 @@ public final class ThreadPoolCurrent
ThreadPoolCurrent(Instance instance, ThreadPool threadPool)
{
operation = SocketOperation.None;
- stream = new BasicStream(instance);
+ stream = new BasicStream(instance, Protocol.currentProtocolEncoding);
_threadPool = threadPool;
_ioCompleted = false;