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:
Jan Bartel 2009-06-01 03:22:28 +00:00
parent 273f48dec2
commit f3926b4bf7
1 changed files with 1 additions and 1 deletions

View File

@ -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);