The specification of both read(byte[]) and read(byte[], int, int) reads:
"See the general contract of the read method of DataInput. "
However, there is no read(byte[]) or read(byte[], int, int) method in DataInput.
It should be changed to InputStream.
"See the general contract of the read method of DataInput. "
However, there is no read(byte[]) or read(byte[], int, int) method in DataInput.
It should be changed to InputStream.
- duplicates
-
JDK-4242642 DataInputStream doc is incomplete [ambiguous?] re. read()
-
- Resolved
-