Ensure context attributes are copied, not passed by reference to each new context.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@324 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
273f48dec2
commit
f3926b4bf7
|
@ -269,7 +269,7 @@ public class WebAppDeployer extends AbstractLifeCycle
|
|||
wah.setParentLoaderPriority(_parentLoaderPriority);
|
||||
|
||||
//set up any contextAttributes
|
||||
wah.setAttributes(_contextAttributes);
|
||||
wah.setAttributes(new AttributesMap(_contextAttributes));
|
||||
|
||||
// add it
|
||||
_contexts.addHandler(wah);
|
||||
|
|
Loading…
Reference in New Issue