[jboss-dev] Non-native zip file handling

David M. Lloyd david.lloyd at redhat.com
Mon Jun 15 10:48:16 EDT 2009


On 06/13/2009 06:45 AM, Ales Justin wrote:
>> Next week if I have time I'll try to integrate this into VFS.
> 
> I'll see if I can abstract the VFS's zip usage.
> So we'll be able to either use this or fall back to existing jdk's zip.

Isn't VFS already an abstraction?  There would seem to be very little in 
common between a vfszip implementation which uses the JDK zip code and one 
which uses the implementation I whipped up (the APIs are completely 
different, which was sort of the point).  Wouldn't it be a lot easier to 
just make a branch and replace the ZIP code completely?  Then you could 
simply test with one versus the other and see if there's 
performance/stability/xxxx differences between the two.

The point of doing the alternate implementation was to allow us to simplify 
the vfszip implementation, not make it more complex.

Oh, thanks for the fixes by the way.  :-)

- DML



More information about the jboss-development mailing list