From f3926b4bf7ed05861570f58fc6bd025192c46969 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Mon, 1 Jun 2009 03:22:28 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java index 0caabb4f131..540f6ee939f 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/WebAppDeployer.java @@ -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);