--- old/src/share/classes/java/util/Collection.java 2013-09-13 14:20:56.624450997 -0700 +++ new/src/share/classes/java/util/Collection.java 2013-09-13 14:20:56.468450989 -0700 @@ -379,8 +379,8 @@ /** * Removes all of the elements of this collection that satisfy the given - * predicate. Errors or runtime exceptions thrown by the predicate are - * relayed to the caller. + * predicate. Errors or runtime exceptions thrown during iteration or by + * the predicate are relayed to the caller. * * @implSpec * The default implementation traverses all elements of the collection using @@ -393,9 +393,8 @@ * removed * @return {@code true} if any elements were removed * @throws NullPointerException if the specified filter is null - * @throws UnsupportedOperationException if the {@code remove} - * method is not supported by this collection's - * {@link #iterator} + * @throws UnsupportedOperationException if a matching element cannot be + * removed from this collection * @since 1.8 */ default boolean removeIf(Predicate filter) {