Skip to content

Consistency of serialize(): please enlighten me

1 message · Hin-Tak Leung

#
I have a couple of ideas - serialize() can store references (and some 
simple assignment are just stored as references until one tries to 
modify part of the copy, i.e. in a copy-on-write manner); ocassionally,
it will also store the package name as an attribute to the class name in
which the class was defined. Maybe neither of this is the case, but what
does a hexdump tell you? (just printing the result of rawToChar() to the
console).
Henrik Bengtsson wrote: