equal
deleted
inserted
replaced
2223 } |
2223 } |
2224 |
2224 |
2225 /** |
2225 /** |
2226 * Defend against malicious streams. |
2226 * Defend against malicious streams. |
2227 * |
2227 * |
|
2228 * @param s the stream to read |
2228 * @throws InvalidObjectException always |
2229 * @throws InvalidObjectException always |
2229 */ |
2230 */ |
2230 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
2231 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
2231 throw new InvalidObjectException("Deserialization via serialization delegate"); |
2232 throw new InvalidObjectException("Deserialization via serialization delegate"); |
2232 } |
2233 } |