From: wisberg Date: Mon, 5 May 2003 15:17:35 +0000 (+0000) Subject: use binary-incompatible API for detecting whether any warnings exist, to enable/disab... X-Git-Tag: V1_1_0_RC2~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f500cc5cb546b863616dca8b98603bf19b14f71c;p=aspectj.git use binary-incompatible API for detecting whether any warnings exist, to enable/disable message display. --- diff --git a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java index 7835109db..2fa636ccb 100644 --- a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java +++ b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java @@ -190,6 +190,7 @@ public class AspectJBuildManager implements BuildManager { } catch (Throwable e) { Ajde.getDefault().getErrorHandler().handleError("Compile error, caught Throwable: " + e.toString(), e); } finally { + warnings = compilerMessages.hasWarning(); progressMonitor.finish(); } notifyCompileFinished(configFile, lastCompileTime, succeeded, warnings);