Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2016-01-13 00:39:34 +0000
committerslewis2016-01-13 00:39:34 +0000
commitb528828e6076567faac742f2bf98d390b8595c0b (patch)
treeee5d2386495e6d2e683446a8c9870572e7c6750a /framework
parent917eb8e7ef996eea294372aa1af929536d25ed88 (diff)
downloadorg.eclipse.ecf-b528828e6076567faac742f2bf98d390b8595c0b.tar.gz
org.eclipse.ecf-b528828e6076567faac742f2bf98d390b8595c0b.tar.xz
org.eclipse.ecf-b528828e6076567faac742f2bf98d390b8595c0b.zip
Fix for ObjectSerializationUtil
Diffstat (limited to 'framework')
-rw-r--r--framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/util/ObjectSerializationUtil.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/util/ObjectSerializationUtil.java b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/util/ObjectSerializationUtil.java
index b3ade0331..148274883 100644
--- a/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/util/ObjectSerializationUtil.java
+++ b/framework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/util/ObjectSerializationUtil.java
@@ -10,6 +10,7 @@
package org.eclipse.ecf.remoteservice.util;
import java.io.*;
+import org.eclipse.ecf.internal.remoteservice.Activator;
/**
* @since 8.1
@@ -32,7 +33,7 @@ public class ObjectSerializationUtil {
if (bytes.length == 0)
return null;
ByteArrayInputStream bins = new ByteArrayInputStream(bytes);
- ObjectInputStream oins = new ObjectInputStream(bins);
+ ObjectInputStream oins = Activator.getDefault().createObjectInputStream(bins);
Object result = null;
try {
result = oins.readObject();

Back to the top