]> source.dussan.org Git - aspectj.git/commitdiff
pass protDomain through
authoraclement <aclement>
Tue, 31 May 2011 22:14:00 +0000 (22:14 +0000)
committeraclement <aclement>
Tue, 31 May 2011 22:14:00 +0000 (22:14 +0000)
loadtime/src/org/aspectj/weaver/loadtime/Aj.java

index f38ac9184baa957e405f55ef3c9420da425bfd12..3582da8710e2cc8e5d3a33a3e63259bedbcd45de 100644 (file)
@@ -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())