b****d 发帖数: 246 | 1 when I use writeObject(Hashtable) or writeObject(HashSet),
there is always a "java.io.NotSerializableException: ASNode",
where "ASNode" is the class inserted in the hashtable. ASNode itself
is not serialized.
anyone knows how to solve it?
THanks a lot. | m******t 发帖数: 2416 | 2
ASNode needs to implement Serializable.
【在 b****d 的大作中提到】 : when I use writeObject(Hashtable) or writeObject(HashSet), : there is always a "java.io.NotSerializableException: ASNode", : where "ASNode" is the class inserted in the hashtable. ASNode itself : is not serialized. : anyone knows how to solve it? : THanks a lot.
| b****d 发帖数: 246 | 3 THanks. You are right.
【在 m******t 的大作中提到】 : : ASNode needs to implement Serializable.
|
|