List Info

Thread: - Re: Careful with default serialization, JB




- Re: Careful with default serialization, JB
country flaguser name
United States
2008-02-29 16:40:32
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
_______________________________________________
jboss-dev-forums mailing list
jboss-dev-forumslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-foru
ms

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )