From: mwebster Date: Wed, 21 Jun 2006 15:01:50 +0000 (+0000) Subject: Fix for Bug 140695 "Use LTWWorld not BcelWorld for load-time weaving" (use bootstrap... X-Git-Tag: V1_5_2rc1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=497dcf1140b7ec4eab3aab80fa5a22c8259bae48;p=aspectj.git Fix for Bug 140695 "Use LTWWorld not BcelWorld for load-time weaving" (use bootstrap loader) --- 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