harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regis <xu.re...@gmail.com>
Subject Re: [jira] Created: (HARMONY-6110) [classlib] [luni] BufferedOutputStream.reset() does not throw IOException after reading the entire stream, differs from RI
Date Thu, 05 Mar 2009 07:29:35 GMT
Kevin Zhou wrote:
> This is a difference between HARMONY and RI.Should we follow this?
> 
If I understand correctly,
"Scenario 2: When a buffered reader has read the entire stream, HARMONY 
can reset the stream while RI will throw IOException [2]. "

is test case "test_reset_sceniro1()", right?

And I also noticed that after reset the stream can still be read from 
marked point in test_reset_sceniro1() run with Harmony. It seems a 
enhancement :) maybe someone need to back to marked point when he 
encounter end-of-file.

-- 
Best Regards,
Regis.

Mime
View raw message