Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 11
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
-
CPU:x86_64
-
OS:linux
Description
ADDITIONAL SYSTEM INFORMATION :
Bug occurs even in openjdk 14
A DESCRIPTION OF THE PROBLEM :
https://bugs.openjdk.java.net/browse/JDK-8075939
This bug still happens if you replace .findFirst().get() with .iterator().next().
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Take the test case in the description of the ticket here: https://bugs.openjdk.java.net/browse/JDK-8075939
replace .findFirst().get() with .iterator().next()
FREQUENCY : always
Bug occurs even in openjdk 14
A DESCRIPTION OF THE PROBLEM :
https://bugs.openjdk.java.net/browse/JDK-8075939
This bug still happens if you replace .findFirst().get() with .iterator().next().
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Take the test case in the description of the ticket here: https://bugs.openjdk.java.net/browse/JDK-8075939
replace .findFirst().get() with .iterator().next()
FREQUENCY : always
Attachments
Issue Links
- duplicates
-
JDK-8229983 flatMap still prevents short circuiting when using .iterator()
-
- Open
-