From 26873928c3b1e3739c5376ad35075f5477cc452e Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 30 Nov 2007 18:30:03 +0000 Subject: made field final - does that avoid NPE on line 105 under tomcat? --- loadtime/src/org/aspectj/weaver/loadtime/Aj.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loadtime') diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java index 4df029d2f..30106ca3e 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java @@ -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; -- cgit v1.2.3