Re: [classlib][luni] Serialization problem with EnumSet

2006-08-14 Thread Oleg Khaschansky
It looks like EnumSet.SerializationProxy is the class that is serialized instead of EnumSet, since it overrides readResolve method and contains the information, essential for re-creation of EnumSet. Probably, the scheme looks like this: 1) EnumSet overrides writeReplace which returns appropriate E

[classlib][luni] Serialization problem with EnumSet

2006-08-13 Thread Spark Shen
Hi All: After reading the serialized form of EnumSet, I found an inner class java.util.EnumSet.SerializationProxy. This class does not have any extra explaination. Does any one has any suggestion on how to deal with it? Best regards -- Spark Shen China Software Development Lab, IBM ---