--- old/src/share/classes/java/util/Collections.java 2013-09-04 14:04:36.424073521 -0700 +++ new/src/share/classes/java/util/Collections.java 2013-09-04 14:04:36.268073514 -0700 @@ -1140,7 +1140,7 @@ c.forEach(action); } @Override - public boolean removeIf(Predicate filter) { + public boolean removeAll(Predicate filter) { throw new UnsupportedOperationException(); } @SuppressWarnings("unchecked") @@ -2122,8 +2122,8 @@ synchronized (mutex) {c.forEach(consumer);} } @Override - public boolean removeIf(Predicate filter) { - synchronized (mutex) {return c.removeIf(filter);} + public boolean removeAll(Predicate filter) { + synchronized (mutex) {return c.removeAll(filter);} } @Override public Spliterator spliterator() { @@ -3184,8 +3184,8 @@ @Override public void forEach(Consumer action) {c.forEach(action);} @Override - public boolean removeIf(Predicate filter) { - return c.removeIf(filter); + public boolean removeAll(Predicate filter) { + return c.removeAll(filter); } @Override public Spliterator spliterator() {return c.spliterator();} @@ -4393,7 +4393,7 @@ Objects.requireNonNull(action); } @Override - public boolean removeIf(Predicate filter) { + public boolean removeAll(Predicate filter) { Objects.requireNonNull(filter); return false; } @@ -4519,7 +4519,7 @@ public int hashCode() { return 1; } @Override - public boolean removeIf(Predicate filter) { + public boolean removeAll(Predicate filter) { Objects.requireNonNull(filter); return false; } @@ -4829,7 +4829,7 @@ return singletonSpliterator(element); } @Override - public boolean removeIf(Predicate filter) { + public boolean removeAll(Predicate filter) { throw new UnsupportedOperationException(); } } @@ -4880,7 +4880,7 @@ action.accept(element); } @Override - public boolean removeIf(Predicate filter) { + public boolean removeAll(Predicate filter) { throw new UnsupportedOperationException(); } @Override @@ -5534,8 +5534,8 @@ s.forEach(action); } @Override - public boolean removeIf(Predicate filter) { - return s.removeIf(filter); + public boolean removeAll(Predicate filter) { + return s.removeAll(filter); } @Override @@ -5609,8 +5609,8 @@ @Override public void forEach(Consumer action) {q.forEach(action);} @Override - public boolean removeIf(Predicate filter) { - return q.removeIf(filter); + public boolean removeAll(Predicate filter) { + return q.removeAll(filter); } @Override public Spliterator spliterator() {return q.spliterator();}