aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2009-12-10 22:30:50 +0000
committeraclement <aclement>2009-12-10 22:30:50 +0000
commit00ff26acf5380709adaa2ee146c37021d09341b2 (patch)
treefb93041a28fd070fc2bfc43ff6bba4e4895f6167 /weaver
parentb3f0ddfcb6743dd0b78309fcc9fcea4036aad51d (diff)
downloadaspectj-00ff26acf5380709adaa2ee146c37021d09341b2.tar.gz
aspectj-00ff26acf5380709adaa2ee146c37021d09341b2.zip
231945: guard on null and tell them what to do about it
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
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;
}