This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: object serialization


>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:

Jeff> For example, Serializable objects must be created by
Jeff> readObject() without invoking any constructor. (Externalizable
Jeff> objects on the other hand must have a public default
Jeff> constructor).  I haven't yet looked closely at CNI to see if
Jeff> this is possible with documented calls.

_Jv_AllocObject will do this.  This probably isn't documented, but it
doesn't matter, since serialization is part of the "implementation".

Jeff> I hope that by the end of this week I can read/write
Jeff> Externalizable objects.  Serializable will follow... I need some
Jeff> native code to make it work.

FYI we'll need paperwork from you before we can check anything in.

T

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]