hg: jdk7/tl/jdk: 6697270: Inputstream dosent behave correct

xuelei.fan at sun.com xuelei.fan at sun.com
Thu Feb 19 21:14:30 PST 2009


Changeset: 6bdbb2f5c763
Author:    xuelei
Date:      2009-02-20 13:05 +0800
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/6bdbb2f5c763

6697270: Inputstream dosent behave correct
Summary: do not try to read zero byte from a InputStream, and do always return immediately for zero byte reading in a InputStream implementation.
Reviewed-by: weijun

! src/share/classes/sun/security/ssl/AppInputStream.java
! src/share/classes/sun/security/ssl/AppOutputStream.java
! src/share/classes/sun/security/ssl/ByteBufferInputStream.java
+ test/sun/security/ssl/com/sun/net/ssl/internal/ssl/AppInputStream/ReadZeroBytes.java




More information about the serviceability-dev mailing list