-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
None
-
Affects Version/s: 8, 8-repo-lambda
-
Component/s: core-libs
Following code causes infinite looping:
import java.util.concurrent.ThreadLocalRandom;
public class ThreadLocalRandomDistinct {
public static void main(String[] argv) {
ThreadLocalRandom.current().doubles().parallel().distinct().iterator().next();
}
}
The code is attached for your convenience. This was reproduced on b88.
import java.util.concurrent.ThreadLocalRandom;
public class ThreadLocalRandomDistinct {
public static void main(String[] argv) {
ThreadLocalRandom.current().doubles().parallel().distinct().iterator().next();
}
}
The code is attached for your convenience. This was reproduced on b88.
- relates to
-
JDK-8024179 Document limitations and performance characteristics of stream sources and operations
-
- Resolved
-