-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b94
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8227948 | openjdk8u232 | Andrew Hughes | P3 | Resolved | Fixed | b01 |
JDK-8227798 | openjdk8u222 | Andrew Hughes | P3 | Resolved | Fixed | b09 |
JDK-8227909 | openjdk7u | Andrew Hughes | P3 | Resolved | Fixed | master |
Each of the following lines
Objects.checkIndex(1, 1, (a,b) -> null);
Objects.checkFromToIndex(1, 7, 2, (a,b) -> null);
Objects.checkFromIndexSize(1, 7, 2, (a,b) -> null);
produce NPE however this behavior doesn't seem to be specified byJDK-8135248
If would be helpful to have the spec mention these thrown NPEs
Objects.checkIndex(1, 1, (a,b) -> null);
Objects.checkFromToIndex(1, 7, 2, (a,b) -> null);
Objects.checkFromIndexSize(1, 7, 2, (a,b) -> null);
produce NPE however this behavior doesn't seem to be specified by
If would be helpful to have the spec mention these thrown NPEs
- backported by
-
JDK-8227798 Utility methods to check indexes and ranges doesn't specify behavior when function produces null
-
- Resolved
-
-
JDK-8227909 Utility methods to check indexes and ranges doesn't specify behavior when function produces null
-
- Resolved
-
-
JDK-8227948 Utility methods to check indexes and ranges doesn't specify behavior when function produces null
-
- Resolved
-
- relates to
-
JDK-8135248 Add utility methods to check indexes and ranges
-
- Resolved
-