¿¹Á¦

public static class SerializableObject implements Serializable{

synchronized private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
s.defaultReadObject();
}
}

¼Ö·ç¼Ç
readObject()¸¦ synchronized ¼öÁ¤ÀÚ ¾øÀÌ ¼±¾ðÇϽʽÿÀ.

public static class SerializableObject implements Serializable{

private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
s.defaultReadObject();
}
}