diff options
author | mwebster <mwebster> | 2006-06-13 19:54:54 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-06-13 19:54:54 +0000 |
commit | 94e8e649569246be91bc9af895080f1b1c15ba53 (patch) | |
tree | 429ef2d50101ea660abcbb3878d9b72fea120020 /weaver | |
parent | 008efca98bdfe5cda6c32ec75575facf7da2c687 (diff) | |
download | aspectj-94e8e649569246be91bc9af895080f1b1c15ba53.tar.gz aspectj-94e8e649569246be91bc9af895080f1b1c15ba53.zip |
Fix for Bug 140695 - Use LTWWorld not BcelWorld for load-time weaving (wrong class loader)
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java index 55bbab823..dc315bd41 100644 --- a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java +++ b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java @@ -51,7 +51,7 @@ public class ReflectionBasedReferenceTypeDelegateFactory { // can return 'null' if we can't find the class private static ReflectionBasedReferenceTypeDelegate create15Delegate(ReferenceType forReferenceType, Class forClass, ClassLoader usingClassLoader, World inWorld) { try { - Class delegateClass = Class.forName("org.aspectj.weaver.reflect.Java15ReflectionBasedReferenceTypeDelegate",true,usingClassLoader);//,false,usingClassLoader);//ReflectionBasedReferenceTypeDelegate.class.getClassLoader()); + Class delegateClass = Class.forName("org.aspectj.weaver.reflect.Java15ReflectionBasedReferenceTypeDelegate"); ReflectionBasedReferenceTypeDelegate ret = (ReflectionBasedReferenceTypeDelegate) delegateClass.newInstance(); ret.initialize(forReferenceType,forClass,usingClassLoader,inWorld); return ret; |