diff options
-rw-r--r-- | weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java | 9 |
1 files changed, 8 insertions, 1 deletions
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<String, Definition> parsedFiles = new Hashtable<String, Definition>(); - 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; + } + } |