From 497dcf1140b7ec4eab3aab80fa5a22c8259bae48 Mon Sep 17 00:00:00 2001 From: mwebster Date: Wed, 21 Jun 2006 15:01:50 +0000 Subject: Fix for Bug 140695 "Use LTWWorld not BcelWorld for load-time weaving" (use bootstrap loader) --- weaver/src/org/aspectj/weaver/ltw/LTWWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weaver') 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 -- cgit v1.2.3