2010/7/16 Ivan Maidanski <iv...@mail.ru>:
> Hello Daniel!
>
> So, which behavior should we reflect in Classpath (fail fast or fail on 
> reading encrypted entry stream)? I guess a switch to failing fast in JDK6 
> wasn't intentional.

Fail on reading an encrypted stream is much more useful - the reason
is that you can have a zip file with both encrypted and unencrypted
entries, so if you get an error listing the entries (which is now the
case on Java 6 until Sun fix their regression) then you can't read the
unencrypted data.

Daniel


-- 
Daniel Noll                            Forensic and eDiscovery Software
Senior Developer                              The world's most advanced
Nuix                                                email data analysis
http://nuix.com/                                and eDiscovery software

Reply via email to