-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
8, 8-repo-lambda
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
-