From 289a692299190ea032348fb0f8243a025245a55c Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 11 Oct 2011 16:14:02 +0000 Subject: [PATCH] 360331 --- .../weaver/loadtime/definition/DocumentParser.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java b/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java index 5be9057d2..13968a696 100644 --- a/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java +++ b/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java @@ -82,7 +82,7 @@ public class DocumentParser extends DefaultHandler { private Definition.ConcreteAspect activeConcreteAspectDefinition; private static Hashtable parsedFiles = new Hashtable(); - private static final boolean CACHE; + private static boolean CACHE; private static final boolean LIGHTPARSER; static { @@ -345,4 +345,11 @@ public class DocumentParser extends DefaultHandler { return (s != null && s.equals("true")); } + /** + * Turn off caching + */ + public static void deactivateCaching() { + CACHE = false; + } + } -- 2.39.5