summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2006-07-25 12:38:13 +0000
committeraclement <aclement>2006-07-25 12:38:13 +0000
commit9ec075865fa11db398ba75547c8375b2deda251b (patch)
treed8f8e0229881f16118322f22ad8d0b1ad2172cb4 /org.aspectj.ajdt.core
parenta915b6524ccb79d365ede0a5c65eefc278eed9c5 (diff)
downloadaspectj-9ec075865fa11db398ba75547c8375b2deda251b.tar.gz
aspectj-9ec075865fa11db398ba75547c8375b2deda251b.zip
allow exception to flow out rather than losing it due to an NPE
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
index b2cd46e2d..6e0f844d2 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
@@ -344,7 +344,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc
}
ret = !handler.hasErrors();
if (getBcelWorld()!=null) getBcelWorld().tidyUp();
- getWeaver().tidyUp();
+ if (getWeaver()!=null) getWeaver().tidyUp();
// bug 59895, don't release reference to handler as may be needed by a nested call
//handler = null;
}