jdk/src/share/classes/java/time/ZonedDateTime.java
changeset 22566 4ebe53dd7814
parent 22108 99859c0e9a33
child 24256 da9a41004459
equal deleted inserted replaced
22565:2f3102102bd9 22566:4ebe53dd7814
  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     }