From 00ff26acf5380709adaa2ee146c37021d09341b2 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Dec 2009 22:30:50 +0000 Subject: [PATCH] 231945: guard on null and tell them what to do about it --- weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java index 80c523024..56b05af52 100644 --- a/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java +++ b/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java @@ -277,7 +277,7 @@ public class WeavingAdaptor implements IMessageContext { public byte[] weaveClass(String name, byte[] bytes, boolean mustWeave) throws IOException { if (trace==null) { // Pr231945: we are likely to be under tomcat and ENABLE_CLEAR_REFERENCES hasn't been set - System.err.println("AspectJ Weaver cannot continue, static state has been cleared. Are you under Tomcat? In order to weave '"+name+ + System.err.println("AspectJ Weaver cannot continue to weave, static state has been cleared. Are you under Tomcat? In order to weave '"+name+ "' during shutdown, 'org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false' must be set (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=231945)."); return bytes; } -- 2.39.5