--- jsr166/src/main/java/util/ArrayDeque.java 2013/07/18 17:48:28 1.56 +++ jsr166/src/main/java/util/ArrayDeque.java 2013/07/18 18:21:22 1.57 @@ -811,6 +811,7 @@ public class ArrayDeque extends Abstr * Saves this deque to a stream (that is, serializes it). * * @param s the stream + * @throws java.io.IOException if an I/O error occurs * @serialData The current size ({@code int}) of the deque, * followed by all of its elements (each an object reference) in * first-to-last order. @@ -831,6 +832,9 @@ public class ArrayDeque extends Abstr /** * Reconstitutes this deque from a stream (that is, deserializes it). * @param s the stream + * @throws ClassNotFoundException if the class of a serialized object + * could not be found + * @throws java.io.IOException if an I/O error occurs */ private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {