classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Proxy serialization fixes


From: Jeroen Frijters
Subject: [cp-patches] FYI: Proxy serialization fixes
Date: Thu, 8 Sep 2005 10:40:48 +0200

Hi,

I fixed serialization/deseriazation of Proxy instances. Together with my
previous patch (javax.naming.CompoundName serialization) this allows a
JNDI lookup against JBoss to work now. I don't know anything about JNDI,
RMI or JBoss, so I don't know whether you can do anything useful now,
but it's a first step.

Regards,
Jeroen

2005-09-08  Jeroen Frijters  <address@hidden>

        * java/io/ObjectInputStream.java
        (readObject): Removed println and fixed Proxy class descriptor
        deserialization.
        (resolveProxyClass): Use Class.forName() instead of calling
        ClassLoader.loadClass() directly.
        * java/io/ObjectOutputStream.java
        (writeClassDescriptor): Added support for serializing Proxy
        class descriptor.

Attachment: proxy-serialization.patch.txt
Description: proxy-serialization.patch.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]