]> source.dussan.org Git - aspectj.git/commitdiff
Fix for Bug 140695 "Use LTWWorld not BcelWorld for load-time weaving" (use bootstrap...
authormwebster <mwebster>
Wed, 21 Jun 2006 15:01:50 +0000 (15:01 +0000)
committermwebster <mwebster>
Wed, 21 Jun 2006 15:01:50 +0000 (15:01 +0000)
weaver/src/org/aspectj/weaver/ltw/LTWWorld.java

index 901c9e4ba3a22d1acab9dc3b146323e6c4521537..2a9db1024569d08822285339b5ce6a8585bd2b70 100644 (file)
@@ -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