[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ByteArrayOutputStream.close
From: |
Tom Tromey |
Subject: |
Re: ByteArrayOutputStream.close |
Date: |
18 Nov 2000 10:17:57 -0700 |
>>>>> "Brian" == Brian Jones <address@hidden> writes:
Brian> According to the Fundamental Classes Reference, none of the
Brian> methods of ByteArrayOutputStream throw an IOException because
Brian> the data is written to an array instead of an actual I/O
Brian> device. It's possibly more interesting to check if there is a
Brian> difference between the two (sun/gcj) if you check the size of
Brian> the array returned from toCharArray () before and after the
Brian> close.
It prints what you'd expect if close() did nothing. Apparently that
is how it works. I'll drop the patch.
Tom