aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authormwebster <mwebster>2006-06-21 15:01:50 +0000
committermwebster <mwebster>2006-06-21 15:01:50 +0000
commit497dcf1140b7ec4eab3aab80fa5a22c8259bae48 (patch)
tree524ca54bb392d518bb81261035d11ced7e3a66aa /weaver
parent13dde4efd453d32bb4f25781a8fa7aafc2cef850 (diff)
downloadaspectj-497dcf1140b7ec4eab3aab80fa5a22c8259bae48.tar.gz
aspectj-497dcf1140b7ec4eab3aab80fa5a22c8259bae48.zip
Fix for Bug 140695 "Use LTWWorld not BcelWorld for load-time weaving" (use bootstrap loader)
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/ltw/LTWWorld.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
index 901c9e4ba..2a9db1024 100644
--- a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
+++ b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
@@ -105,7 +105,7 @@ public class LTWWorld extends BcelWorld implements IReflectionWorld {
if (fc=='j' || fc=='c' || fc=='o' || fc=='s') { // cheaper than imminent string startsWith tests
if (name.startsWith("java") || name.startsWith("com.sun.") || name.startsWith("org.w3c") ||
name.startsWith("sun.") || name.startsWith("org.omg")) {
- ReferenceTypeDelegate bootstrapLoaderDelegate = resolveReflectionTypeDelegate(ty, loader);
+ ReferenceTypeDelegate bootstrapLoaderDelegate = resolveReflectionTypeDelegate(ty, null);
if (bootstrapLoaderDelegate != null) {
// it's always fine to load these bytes: there's no weaving into them
// and since the class isn't initialized, all we are doing at this point is loading the bytes