hg: jdk8/tl/jdk: 8010837: FileInputStream.available() throw IOException when encountering negative available values

dan.xu at oracle.com dan.xu at oracle.com
Wed Mar 27 09:02:17 PDT 2013


Changeset: 49602f599c08
Author:    dxu
Date:      2013-03-27 09:00 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/49602f599c08

8010837: FileInputStream.available() throw IOException when encountering negative available values
Summary: Remove the check in the native code to allow negative values
Reviewed-by: mchung

! src/solaris/native/java/io/io_util_md.c
+ test/java/io/FileInputStream/NegativeAvailable.java




More information about the compiler-dev mailing list