classpath
[Top][All Lists]
Advanced

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

Re: [PATCH] Serialization #4


From: Dalibor Topic
Subject: Re: [PATCH] Serialization #4
Date: Wed, 03 Dec 2003 16:28:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Guilhem Lavaux wrote:
Hi,

Here is a new part of the patch for serialization. It is mainly about restructuring the class lookup logic. It appeared that you need to build a class lookup table and a class hierarchy for a given input stream. Without that, if you write something with ObjectOutputStream and then read something else the previous code was using the already built class hierarchy to decode this new stream. The solution was obviously to build a full lookup table for each instance of ObjectInputStream. At the same time, ObjectStreamClass continue to manage the "real" class hierarchy (i.e. the one that exists in the VM at the running time).

looks good to me.

cheers,
dalibor topic





reply via email to

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