aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-31 11:42:29 +0000
committeracolyer <acolyer>2005-08-31 11:42:29 +0000
commit2c9ea11c6d7354d3e44aa59531964a15b4486519 (patch)
tree6ddd373ad4a0759429988a0b69b257e189d2eb29 /weaver/testsrc
parentbe750d53ee48c2530bc9857196c468274632f7bc (diff)
downloadaspectj-2c9ea11c6d7354d3e44aa59531964a15b4486519.tar.gz
aspectj-2c9ea11c6d7354d3e44aa59531964a15b4486519.zip
fix for pr108448 - failing to look in *all* outer types for type variables when resolving a generic signature.
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java b/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java
index a51ffdc2c..28cf82f5a 100644
--- a/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java
@@ -25,7 +25,7 @@ import org.aspectj.weaver.UnresolvedType;
*/
public class BcelGenericSignatureToTypeXTestCase extends TestCase {
- public void testEnumFromHell() {
+ public void testEnumFromHell() throws Exception {
BcelWorld world = new BcelWorld();
JavaClass javaLangEnum = Repository.lookupClass("java/lang/Enum");
Signature.ClassSignature cSig = javaLangEnum.getGenericClassTypeSignature();
@@ -53,7 +53,7 @@ public class BcelGenericSignatureToTypeXTestCase extends TestCase {
assertEquals("Ljava/io/Serializable;",serializable.getSignature());
}
- public void testColonColon() {
+ public void testColonColon() throws Exception {
BcelWorld world = new BcelWorld();
Signature.ClassSignature cSig = new GenericSignatureParser().parseAsClassSignature("<T::Ljava/io/Serializable;>Ljava/lang/Object;Ljava/lang/Comparable<TT;>;");
UnresolvedType resolved = BcelGenericSignatureToTypeXConverter.classTypeSignature2TypeX(