[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-6061 or weird nested jar
alesj
do-not-reply at jboss.com
Wed Oct 15 03:25:58 EDT 2008
"adrian at 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#4182292
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182292
More information about the jboss-dev-forums
mailing list