-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 10, 11
-
Component/s: core-libs
-
b01
-
Not verified
The parameter checking of ByteArrayOutputStream.write(byte[],int,int) and ObjectInputStream.checkArray(Class<?>, int) could be improved to in the former case use Objects.Objects.checkFromIndexSize() and in the latter to remove Objects.requireNonNull().
- links to