diff --git a/src/java.base/share/classes/java/util/Collections.java b/src/java.base/share/classes/java/util/Collections.java index f71c8cdb758..a88d70fedc6 100644 --- a/src/java.base/share/classes/java/util/Collections.java +++ b/src/java.base/share/classes/java/util/Collections.java @@ -5562,9 +5562,8 @@ public class Collections { /** * Adds all of the specified elements to the specified collection. * Elements to be added may be specified individually or as an array. - * The behavior of this convenience method is identical to that of - * {@code c.addAll(Arrays.asList(elements))}, but this method is likely - * to run significantly faster under most implementations. + * The behaviour of this convenience method is similar to that of + * {@code cc.addAll(Collections.unmodifiableList(Arrays.asList(elements)))}. * *

When elements are specified individually, this method provides a * convenient way to add a few elements to an existing collection: