]> source.dussan.org Git - aspectj.git/commitdiff
231945: guard on null and tell them what to do about it
authoraclement <aclement>
Thu, 10 Dec 2009 22:30:50 +0000 (22:30 +0000)
committeraclement <aclement>
Thu, 10 Dec 2009 22:30:50 +0000 (22:30 +0000)
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java

index 80c523024b261b9e89f1223164fbe8a2fd23b082..56b05af52096200bfa22b2a0c7b7e3b3d037bbd4 100644 (file)
@@ -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;
                }