--- jsr166/src/jsr166e/extra/AtomicDouble.java 2013/03/04 16:09:25 1.17 +++ jsr166/src/jsr166e/extra/AtomicDouble.java 2013/07/22 16:47:46 1.19 @@ -125,7 +125,6 @@ public class AtomicDouble extends Number * *

- * May fail spuriously and does not provide ordering guarantees, * so is only rarely an appropriate alternative to {@code compareAndSet}. * @@ -213,6 +212,8 @@ public class AtomicDouble extends Number /** * 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 current value is emitted (a {@code double}). */ private void writeObject(java.io.ObjectOutputStream s) @@ -224,6 +225,10 @@ public class AtomicDouble extends Number /** * 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 {