summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/mx4j-tools/files/mx4j-tools-3.0.2-new-hessian.patch')
-rw-r--r--dev-java/mx4j-tools/files/mx4j-tools-3.0.2-new-hessian.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/mx4j-tools/files/mx4j-tools-3.0.2-new-hessian.patch b/dev-java/mx4j-tools/files/mx4j-tools-3.0.2-new-hessian.patch
new file mode 100644
index 000000000000..8bc827b29b22
--- /dev/null
+++ b/dev-java/mx4j-tools/files/mx4j-tools-3.0.2-new-hessian.patch
@@ -0,0 +1,37 @@
+diff -Nru mx4j-3.0.2.vanilla/src/tools/mx4j/tools/remote/caucho/serialization/JMXDeserializer.java mx4j-3.0.2/src/tools/mx4j/tools/remote/caucho/serialization/JMXDeserializer.java
+--- mx4j-3.0.2.vanilla/src/tools/mx4j/tools/remote/caucho/serialization/JMXDeserializer.java 2008-06-17 15:32:02.000000000 +0200
++++ mx4j-3.0.2/src/tools/mx4j/tools/remote/caucho/serialization/JMXDeserializer.java 2008-06-17 15:51:14.000000000 +0200
+@@ -12,13 +12,13 @@
+ import java.io.IOException;
+ import java.io.ObjectInputStream;
+
++import com.caucho.hessian.io.AbstractDeserializer;
+ import com.caucho.hessian.io.AbstractHessianInput;
+-import com.caucho.hessian.io.Deserializer;
+
+ /**
+ * @version $
+ */
+-class JMXDeserializer extends Deserializer
++class JMXDeserializer extends AbstractDeserializer
+ {
+ private Class type;
+
+diff -Nru mx4j-3.0.2.vanilla/src/tools/mx4j/tools/remote/caucho/serialization/JMXSerializer.java mx4j-3.0.2/src/tools/mx4j/tools/remote/caucho/serialization/JMXSerializer.java
+--- mx4j-3.0.2.vanilla/src/tools/mx4j/tools/remote/caucho/serialization/JMXSerializer.java 2008-06-17 15:32:02.000000000 +0200
++++ mx4j-3.0.2/src/tools/mx4j/tools/remote/caucho/serialization/JMXSerializer.java 2008-06-17 15:51:14.000000000 +0200
+@@ -13,12 +13,12 @@
+ import java.io.ObjectOutputStream;
+
+ import com.caucho.hessian.io.AbstractHessianOutput;
+-import com.caucho.hessian.io.Serializer;
++import com.caucho.hessian.io.AbstractSerializer;
+
+ /**
+ * @version $Revision: 1.1 $
+ */
+-class JMXSerializer extends Serializer
++class JMXSerializer extends AbstractSerializer
+ {
+ public void writeObject(Object obj, AbstractHessianOutput out) throws IOException
+ {