equal
deleted
inserted
replaced
2051 } |
2051 } |
2052 |
2052 |
2053 /** |
2053 /** |
2054 * Defend against malicious streams. |
2054 * Defend against malicious streams. |
2055 * |
2055 * |
|
2056 * @param s the stream to read |
2056 * @throws InvalidObjectException always |
2057 * @throws InvalidObjectException always |
2057 */ |
2058 */ |
2058 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
2059 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
2059 throw new InvalidObjectException("Deserialization via serialization delegate"); |
2060 throw new InvalidObjectException("Deserialization via serialization delegate"); |
2060 } |
2061 } |