[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Silent failover on broken jar file

scott.stark@jboss.org do-not-reply at jboss.com
Tue Mar 11 11:27:24 EDT 2008


I don't know what file.isFile() api your talking about, VirtualFile or java.io.File. So looking for this statement in the vfs codebase, I find it in FileSystemContext.createVirtualFileHandler. and there it is java.io.File.isFile(). So for that usage, yes, we know whether its an unpacked jar or not. For that IOException, I don't know why we fall back to treating the corrupt jar as a non-structured file. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135665#4135665

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135665



More information about the jboss-dev-forums mailing list