geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1171375 - /geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java
Date Fri, 16 Sep 2011 03:36:21 GMT
Author: genspring
Date: Fri Sep 16 03:36:20 2011
New Revision: 1171375

URL: http://svn.apache.org/viewvc?rev=1171375&view=rev
Log:
GERONIMO-5709 Track: Thread safety for needScanJar(), scanJar(), and scannedJars.add() in
GeronimoTldLocationsCache

Modified:
    geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java

Modified: geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java?rev=1171375&r1=1171374&r2=1171375&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java
(original)
+++ geronimo/server/branches/2.2/plugins/jasper/geronimo-jasper/src/main/java/org/apache/geronimo/jasper/GeronimoTldLocationsCache.java
Fri Sep 16 03:36:20 2011
@@ -210,7 +210,7 @@ public class GeronimoTldLocationsCache e
         return (String[]) mappings.get(uri);
     }
 
-    private void init() throws JasperException {
+	private synchronized void init() throws JasperException {
         if (initialized) return;
         try {
             processWebDotXml();



Mime
View raw message