From 58501cf16a2f6e35e8223deface3f8acdde66c00 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 13 Nov 2009 20:30:13 +0000 Subject: [PATCH] make timers non-periodic under AJDT --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 46aacd01f..70addfa66 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 @@ -385,7 +385,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour } ret = !handler.hasErrors(); if (getBcelWorld() != null) { - getBcelWorld().tidyUp(); + BcelWorld bcelWorld = getBcelWorld(); + bcelWorld.reportTimers(); + bcelWorld.tidyUp(); } if (getWeaver() != null) { getWeaver().tidyUp(); @@ -825,7 +827,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour // cp.addAll(buildConfig.getClasspath()); BcelWorld bcelWorld = new BcelWorld(cp, handler, null); bcelWorld.setBehaveInJava5Way(buildConfig.getBehaveInJava5Way()); - bcelWorld.setTiming(buildConfig.isTiming()); + bcelWorld.setTiming(buildConfig.isTiming(), false); bcelWorld.setAddSerialVerUID(buildConfig.isAddSerialVerUID()); bcelWorld.setXmlConfigured(buildConfig.isXmlConfigured()); bcelWorld.setXmlFiles(buildConfig.getXmlFiles()); -- 2.39.5