I guess the NoCopyNestedJarHandler and NestedJarHandler should be equal?
| String flag = context.getOptions().get("useNoCopyJarHandler");
| boolean useNoCopyJarHandler = Boolean.valueOf(flag);
|
| if (useNoCopyJarHandler)
| vfh = new NoCopyNestedJarHandler(context, parent, jar, entry, url);
| else
| vfh = NestedJarHandler.create(context, parent, jar, entry, url,
entryName);
|
We probably never tested this, since when I change the default behavior to
useNoCopyJarHandler, all bunch of tests fail.
I'll fix this + add tests that check the two are equal.
Was there ever an idea to use context's options more API like, other than reading them
from URI's query?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115391#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...