HTT URLConnection.getInputStream seems broken in cvs

Chris Burdess dog@bluezoo.org
Wed Mar 9 22:06:00 GMT 2005


Fabio Roger wrote:
> I try a URL.getInputStream() for a normal http connection and it throws
> this exception:
>
> ...
> Caused by: java.lang.ArrayIndexOutOfBoundsException
>    at java.lang.System.arraycopy(java.lang.Object, int,
> java.lang.Object, int, int) (/usr/lib/libgcj.so.6.0.0)
>    at java.io.BufferedInputStream.refill() (/usr/lib/libgcj.so.6.0.0)

Please note that this may well have been fixed by David Daney's patch 
for libgcj/20389. If not, or there are further complications, please 
let me know.
-- 
Chris Burdess



More information about the Java mailing list