aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2011-05-31 22:14:00 +0000
committeraclement <aclement>2011-05-31 22:14:00 +0000
commitf70135e0dc694afb98d7bcc25167b64f8562329b (patch)
tree5e56e3f06df9fe5a1e3e262b5d2f867fd5dc898f /loadtime
parent9002c6a3436d18d5223c050bde12e9c9bddaf3a7 (diff)
downloadaspectj-f70135e0dc694afb98d7bcc25167b64f8562329b.tar.gz
aspectj-f70135e0dc694afb98d7bcc25167b64f8562329b.zip
pass protDomain through
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/Aj.java3
1 files changed, 1 insertions, 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())