This content has been marked as final.
Show 1 reply
-
1. Re: Careful with default serialization, JBVFS-17
alesj Feb 29, 2008 5:40 PM (in response to starksm64)Serialization for nested jars is broken anyway.
See the problem that I somehow hinted about in AbstractJarHandler.handleJarFile.
The thing is that when you doJarURLConnection 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).