diff -r ed59bead7654 -r 20e8b81964d5 jdk/src/share/classes/java/util/Iterator.java --- a/jdk/src/share/classes/java/util/Iterator.java Tue Oct 22 14:51:08 2013 -0700 +++ b/jdk/src/share/classes/java/util/Iterator.java Tue Oct 22 15:12:22 2013 -0700 @@ -94,10 +94,10 @@ } /** - * Performs the given action for each remaining element, in the order - * elements occur when iterating, until all elements have been processed or - * the action throws an exception. Errors or runtime exceptions thrown by - * the action are relayed to the caller. + * Performs the given action for each remaining element until all elements + * have been processed or the action throws an exception. Actions are + * performed in the order of iteration, if that order is specified. + * Exceptions thrown by the action are relayed to the caller. * * @implSpec *

The default implementation behaves as if: