jdk/src/java.base/share/classes/java/util/BitSet.java
changeset 42225 07097c84db68
parent 42157 3e87fa9d8226
child 45536 7ebbcd3c853f
--- a/jdk/src/java.base/share/classes/java/util/BitSet.java	Wed Nov 23 10:34:10 2016 -0800
+++ b/jdk/src/java.base/share/classes/java/util/BitSet.java	Wed Nov 23 10:35:43 2016 -0800
@@ -1210,9 +1210,10 @@
      * is the number of bits in the set state, equal to the value
      * returned by the {@link #cardinality()} method.
      *
-     * <p>The bit set must remain constant during the execution of the
-     * terminal stream operation.  Otherwise, the result of the terminal
-     * stream operation is undefined.
+     * <p>The stream binds to this bit set when the terminal stream operation
+     * commences (specifically, the spliterator for the stream is
+     * <a href="../Spliterator.html#binding"><em>late-binding</em></a>).  If the
+     * bit set is modified during that operation then the result is undefined.
      *
      * @return a stream of integers representing set indices
      * @since 1.8