From 9ec075865fa11db398ba75547c8375b2deda251b Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 25 Jul 2006 12:38:13 +0000 Subject: [PATCH] allow exception to flow out rather than losing it due to an NPE --- .../org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5