equal
deleted
inserted
replaced
622 |
622 |
623 //----------------------------------------------------------------------- |
623 //----------------------------------------------------------------------- |
624 /** |
624 /** |
625 * Defend against malicious streams. |
625 * Defend against malicious streams. |
626 * |
626 * |
|
627 * @param s the stream to read |
627 * @throws InvalidObjectException always |
628 * @throws InvalidObjectException always |
628 */ |
629 */ |
629 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
630 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
630 throw new InvalidObjectException("Deserialization via serialization delegate"); |
631 throw new InvalidObjectException("Deserialization via serialization delegate"); |
631 } |
632 } |