axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r330300 - /webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java
Date Wed, 02 Nov 2005 18:19:03 GMT
Author: dims
Date: Wed Nov  2 10:18:58 2005
New Revision: 330300

URL: http://svn.apache.org/viewcvs?rev=330300&view=rev
Log:
Fix for AXIS-2278 - Memory leak cause by JavaUtils.enumMap


Modified:
    webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java

Modified: webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java?rev=330300&r1=330299&r2=330300&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/utils/JavaUtils.java Wed Nov  2 10:18:58
2005
@@ -1047,7 +1047,7 @@
      * Used to cache a result from IsEnumClassSub(). 
      * Class->Boolean mapping.
      */
-    private static HashMap enumMap = new HashMap();
+    private static WeakHashMap enumMap = new WeakHashMap();
     
     /**
      * Determine if the class is a JAX-RPC enum class.



Mime
View raw message