aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-11 10:38:59 +0000
committeracolyer <acolyer>2005-08-11 10:38:59 +0000
commitcba5b77c14f68163b8758cbc313b5a1750dcca05 (patch)
treefc2aabfe23a86d6250061d6eafb91030c4a8efe0
parent477c5751e6894c988cddb27fe82cd076c387940d (diff)
downloadaspectj-cba5b77c14f68163b8758cbc313b5a1750dcca05.tar.gz
aspectj-cba5b77c14f68163b8758cbc313b5a1750dcca05.zip
use $ not / to separate nested types in signatures
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java b/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
index d03bdc2d8..ddc336f66 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
@@ -56,7 +56,7 @@ public class BcelGenericSignatureToTypeXConverter {
StringBuffer sig = new StringBuffer();
sig.append(aClassTypeSignature.outerType.identifier.replace(';',' ').trim());
for (int i = 0; i < aClassTypeSignature.nestedTypes.length; i++) {
- sig.append("/");
+ sig.append("$");
sig.append(aClassTypeSignature.nestedTypes[i].identifier.replace(';',' ').trim());
}
sig.append(";");
@@ -70,11 +70,11 @@ public class BcelGenericSignatureToTypeXConverter {
if (innerType.typeArguments.length > 0) {
// we have to create a parameterized type
// type arguments may be array types, class types, or typevariable types
+ ResolvedType theBaseType = UnresolvedType.forSignature(sig.toString()).resolve(world);
ResolvedType[] typeArgumentTypes = new ResolvedType[innerType.typeArguments.length];
for (int i = 0; i < typeArgumentTypes.length; i++) {
typeArgumentTypes[i] = typeArgument2TypeX(innerType.typeArguments[i],typeParams,world,inProgressTypeVariableResolutions);
}
- ResolvedType theBaseType = UnresolvedType.forSignature(sig.toString()).resolve(world);
return
TypeFactory.createParameterizedType(
theBaseType,