summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-03 14:23:10 +0000
committeraclement <aclement>2005-11-03 14:23:10 +0000
commite72b0518a145edfec0dafd3a56e183b5cad2caae (patch)
tree2c16585ef2b4dd3ec7c2210097b246ea0d2ce5e9
parent23f126227121adeaa5615cf94d8afa57a577120b (diff)
downloadaspectj-e72b0518a145edfec0dafd3a56e183b5cad2caae.tar.gz
aspectj-e72b0518a145edfec0dafd3a56e183b5cad2caae.zip
fixing a problem that services in the debugger when toString fails NPE!
-rw-r--r--weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java
index ebcd59816..8183ceb24 100644
--- a/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java
+++ b/weaver/src/org/aspectj/weaver/ResolvedPointcutDefinition.java
@@ -87,7 +87,7 @@ public class ResolvedPointcutDefinition extends ResolvedMemberImpl {
public String toString() {
StringBuffer buf = new StringBuffer();
buf.append("pointcut ");
- buf.append(getDeclaringType().getName());
+ buf.append((getDeclaringType()==null?"<nullDeclaringType>":getDeclaringType().getName()));
buf.append(".");
buf.append(getName());
buf.append("(");