equal
deleted
inserted
replaced
1056 } |
1056 } |
1057 |
1057 |
1058 /** |
1058 /** |
1059 * Defend against malicious streams. |
1059 * Defend against malicious streams. |
1060 * |
1060 * |
|
1061 * @param s the stream to read |
1061 * @throws java.io.InvalidObjectException always |
1062 * @throws java.io.InvalidObjectException always |
1062 */ |
1063 */ |
1063 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
1064 private void readObject(ObjectInputStream s) throws InvalidObjectException { |
1064 throw new InvalidObjectException("Deserialization via serialization delegate"); |
1065 throw new InvalidObjectException("Deserialization via serialization delegate"); |
1065 } |
1066 } |