[jboss-dev-forums] [Design of POJO Server] - Re: Truncated class file exception with NoCopy VFS

alesj do-not-reply at jboss.com
Sun Feb 3 18:30:30 EST 2008


Fixed. :-)
It's ZipEntry.getSize that returns -1, if the size is unknown.
And we were only handling ZipInputStream if entry size was > 0.
I'm now allowing to be anything else than zero, it's ZIS.isAvailable that will handle it.

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

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



More information about the jboss-dev-forums mailing list