]> source.dussan.org Git - aspectj.git/commitdiff
avoid npe
authoraclement <aclement>
Tue, 6 Apr 2010 21:37:11 +0000 (21:37 +0000)
committeraclement <aclement>
Tue, 6 Apr 2010 21:37:11 +0000 (21:37 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedMemberImpl.java

index 2bf17db5f7172a464cf84e6a9dc4836461fd090c..fc623d7dc37ddae61defef022e9136d1bd3f7e49 100644 (file)
@@ -1022,7 +1022,7 @@ public class ResolvedMemberImpl extends MemberImpl implements IHasPosition, Anno
                                toBuffer.append("...");
                        } else {
                                alreadyUsedTypeVars.add(aType);
-                               appendSigWithTypeVarBoundsRemoved(typeVariableRT.getTypeVariable().getUpperBound(), toBuffer, alreadyUsedTypeVars);
+                               appendSigWithTypeVarBoundsRemoved(typeVariableRT.getTypeVariable().getFirstBound(), toBuffer, alreadyUsedTypeVars);
                        }
                        // toBuffer.append("T;");
                } else if (aType.isParameterizedType()) {