You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/07/02 18:19:35 UTC

svn commit: r790641 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

Author: dkulp
Date: Thu Jul  2 16:19:35 2009
New Revision: 790641

URL: http://svn.apache.org/viewvc?rev=790641&view=rev
Log:
Make the wsdlLocation a new string to make sure it's not an interned
string that could result in the wsdl never being gc'd.

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java?rev=790641&r1=790640&r2=790641&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java Thu Jul  2 16:19:35 2009
@@ -447,7 +447,7 @@
     }
 
     public void setWsdlLocation(String wsdlLocation) {
-        this.wsdlLocation = wsdlLocation;
+        this.wsdlLocation = new String(wsdlLocation);
     }
 
     public void setBindingUri(String binding) {