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