summaryrefslogtreecommitdiffstats
path: root/weaver5
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-09 08:40:12 +0000
committeraclement <aclement>2005-12-09 08:40:12 +0000
commitb52515fc2319ca34a045a0823ca0f5c8ffeaa2de (patch)
tree1a0aba109e1286629988a7d1f6500bbe250f9749 /weaver5
parent8b87db5ac266514d35e1632546d6888e7ca2f6d0 (diff)
downloadaspectj-b52515fc2319ca34a045a0823ca0f5c8ffeaa2de.tar.gz
aspectj-b52515fc2319ca34a045a0823ca0f5c8ffeaa2de.zip
delegates modified to return the same thing as BCEL. Ctors have the name <init> and a return type of 'void'. Fix for 119353
Diffstat (limited to 'weaver5')
-rw-r--r--weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
index d153ccdc7..a5c57f13f 100644
--- a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
+++ b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
@@ -213,8 +213,9 @@ public class Java15ReflectionBasedReferenceTypeDelegate extends
new ReflectionBasedResolvedMemberImpl(org.aspectj.weaver.Member.METHOD,
getGenericResolvedType(),
forConstructor.getModifiers(),
- getGenericResolvedType(),
- "init",
+ // to return what BCEL returns the return type is void
+ ResolvedType.VOID,//getGenericResolvedType(),
+ "<init>",
typeConverter.fromTypes(forConstructor.getParameterTypes()),
typeConverter.fromTypes(forConstructor.getExceptionTypes()),
forConstructor