|
Relates :
|
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 by JDK-8135248
If would be helpful to have the spec mention these thrown NPEs
|