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