]> source.dussan.org Git - aspectj.git/commitdiff
use binary-incompatible API for detecting whether any warnings exist, to enable/disab...
authorwisberg <wisberg>
Mon, 5 May 2003 15:17:35 +0000 (15:17 +0000)
committerwisberg <wisberg>
Mon, 5 May 2003 15:17:35 +0000 (15:17 +0000)
ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java

index 7835109db718db5de3aba636bfe1c116493f7a00..2fa636ccb99b5e8604c7ee700394be3b59c5fa8c 100644 (file)
@@ -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);