hg: jdk9/sandbox/jdk: 8154183: (spec) Spec of read(byte[], int, int) and readFully(byte[], int, int) is confusing/incomplete

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Apr 20 22:16:05 UTC 2016


Changeset: fabd6d558e79
Author:    bpb
Date:      2016-04-20 15:06 -0700
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/fabd6d558e79

8154183: (spec) Spec of read(byte[],int,int) and readFully(byte[],int,int) is confusing/incomplete
Summary: Clarify and expand specification of ObjectInputStream.read(byte[],int,int) and both variants of {DataInput,DataInputStream,ObjectInputStream,RandomAccessfile}.readFully().
Reviewed-by: rriggs, smarks

! src/java.base/share/classes/java/io/DataInput.java
! src/java.base/share/classes/java/io/DataInputStream.java
! src/java.base/share/classes/java/io/ObjectInputStream.java
! src/java.base/share/classes/java/io/RandomAccessFile.java



More information about the jdk9-sandbox-changes mailing list