--- jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/03/04 16:09:25 1.9 +++ jsr166/src/jsr166e/extra/AtomicDoubleArray.java 2013/07/22 16:47:46 1.11 @@ -164,7 +164,6 @@ public class AtomicDoubleArray implement * *

- * May fail spuriously and does not provide ordering guarantees, * so is only rarely an appropriate alternative to {@code compareAndSet}. * @@ -238,6 +237,8 @@ public class AtomicDoubleArray implement /** * Saves the state to a stream (that is, serializes it). * + * @param s the stream + * @throws java.io.IOException if an I/O error occurs * @serialData The length of the array is emitted (int), followed by all * of its elements (each a {@code double}) in the proper order. */ @@ -256,6 +257,10 @@ public class AtomicDoubleArray implement /** * Reconstitutes the instance 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 {