[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Careful with default serialization, JBVFS-17
alesj
do-not-reply at jboss.com
Fri Feb 29 17:40:32 EST 2008
Serialization for nested jars is broken anyway.
See the problem that I somehow hinted about in AbstractJarHandler.handleJarFile.
The thing is that when you do
| JarURLConnection jconn = (JarURLConnection) conn;
| jar = jconn.getJarFile();
|
on an url that points to nested jar, you're gonna get only the first non-nested jar.
And doing jar.getEntry(current.getName()) on it, will return null, or the wrong entry (in case the names are accidentally equal).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133380#4133380
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133380
More information about the jboss-dev-forums
mailing list