diff options
author | aclement <aclement> | 2006-07-25 12:38:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-25 12:38:13 +0000 |
commit | 9ec075865fa11db398ba75547c8375b2deda251b (patch) | |
tree | d8f8e0229881f16118322f22ad8d0b1ad2172cb4 /org.aspectj.ajdt.core | |
parent | a915b6524ccb79d365ede0a5c65eefc278eed9c5 (diff) | |
download | aspectj-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.java | 2 |
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; } |