"adrian(a)jboss.org" wrote :
| Maybe a simpler (but less inclusive fix) would be to have the PackageVisitor ignore
archives in its VFS visit()?
|
| But I'm not sure if that is too late in terms of the archive getting unpacked?
|
Yeah, I thought of that too.
It would solve some of the problems - depending on how lazy is the VirtualFileHandler
initialization.
But not in this case - at least not in the way how it's currently implemented.
Although it doesn't read/init the broken zip, it will break, since it already fails
to create zip file from where it would eventually lazily read entries.
| private ZipFile ensureZipFile() throws IOException
| {
| if (zipFile == null)
| {
| zipFile = new ZipFile(file);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182292#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...