From f70135e0dc694afb98d7bcc25167b64f8562329b Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 31 May 2011 22:14:00 +0000 Subject: [PATCH] pass protDomain through --- loadtime/src/org/aspectj/weaver/loadtime/Aj.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java index f38ac9184..3582da871 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/Aj.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/Aj.java @@ -95,8 +95,7 @@ public class Aj implements ClassPreProcessor { return bytes; } try { - // custard - // weavingAdaptor.setActiveProtectionDomain(protectionDomain); + weavingAdaptor.setActiveProtectionDomain(protectionDomain); byte[] newBytes = weavingAdaptor.weaveClass(className, bytes, false); Dump.dumpOnExit(weavingAdaptor.getMessageHolder(), true); if (trace.isTraceEnabled()) -- 2.39.5