]> source.dussan.org Git - aspectj.git/commitdiff
made field final - does that avoid NPE on line 105 under tomcat?
authoraclement <aclement>
Fri, 30 Nov 2007 18:30:03 +0000 (18:30 +0000)
committeraclement <aclement>
Fri, 30 Nov 2007 18:30:03 +0000 (18:30 +0000)
loadtime/src/org/aspectj/weaver/loadtime/Aj.java

index 4df029d2fb183a498878428df914381f362419aa..30106ca3e6d8f42f86cc168ae3a9738e25ef06a0 100644 (file)
@@ -98,7 +98,7 @@ public class Aj implements ClassPreProcessor {
      */
     static class WeaverContainer {
 
-        private static Map weavingAdaptors = new WeakHashMap();
+        private final static Map weavingAdaptors = new WeakHashMap();
 
         static WeavingAdaptor getWeaver(ClassLoader loader, IWeavingContext weavingContext) {
             ExplicitlyInitializedClassLoaderWeavingAdaptor adaptor = null;