harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-2436) [classlib][archive] Reading from a closed Jar file is allowed
Date Wed, 13 Jun 2007 07:32:48 GMT
I agree that it is ok just to throw exception if JAR/ZIP file is
closed. IMO RI's behavior is too complex to follow.

Regards,

2007/6/13, Tony Wu <wuyuehao@gmail.com>:
> Ok, If no one objects, I'd like to provider a new patch for 2436 and
> create another JIRA to record this non-bug difference, since the old
> one is outdated.
>
> On 6/11/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> > Tony Wu wrote:
> > > Hi,
> > > Seems RI cached some bytes, which can be read even if the jarfile has
> > > been closed. I wonder what's your opinion about that? should we follow
> > > RI to cache the bytes and should we use the buffer size the same as
> > > RI?
> >
> > Sounds like a bug in the RI to me.  If the JAR is closed I would not
> > expect to be able to read from it.  I suggest closing as a non-bug
> > difference.
> >
> > Regards,
> > Tim
> >
> --
> Tony Wu
> China Software Development Lab, IBM


-- 
Alexei Zakharov,
Intel ESSD

Mime
View raw message