-
Bug
-
Resolution: Fixed
-
P4
-
8, 9
-
b24
-
x86
-
other
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056723 | emb-9 | Unassigned | P4 | Resolved | Fixed | b24 |
JDK-8220056 | openjdk8u212 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8213467 | 8u222 | Vaibhav Choudhary | P4 | Resolved | Fixed | master |
JDK-8221671 | 8u221 | Unassigned | P4 | Resolved | Fixed | b02 |
JDK-8224423 | emb-8u221 | Unassigned | P4 | Resolved | Fixed | b02 |
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
There are couple of places where null checks are missing
(Int/Long/Double/)Stream.close
Int/Double/LongStream.flatmap
Int/Double/LongStream.collect(x,y, 3rd) 3rd argument not being checked
Also these methods does throw NPE but they consume the stream before throwing.
I like to think of null parameter checks as side-effect free.
Stream.forEach
Stream.forEachOrdered
Stream.sorted
Stream.toArray
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
There are couple of places where null checks are missing
(Int/Long/Double/)Stream.close
Int/Double/LongStream.flatmap
Int/Double/LongStream.collect(x,y, 3rd) 3rd argument not being checked
Also these methods does throw NPE but they consume the stream before throwing.
I like to think of null parameter checks as side-effect free.
Stream.forEach
Stream.forEachOrdered
Stream.sorted
Stream.toArray
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8056723 Missing null pointer checks for streams
- Resolved
-
JDK-8213467 Missing null pointer checks for streams
- Resolved
-
JDK-8220056 Missing null pointer checks for streams
- Resolved
-
JDK-8221671 Missing null pointer checks for streams
- Resolved
-
JDK-8224423 Missing null pointer checks for streams
- Resolved
- duplicates
-
JDK-8191648 Typo in api/java/util/stream/BaseStream.html
- Closed
(1 duplicates)