]> source.dussan.org Git - aspectj.git/commitdiff
generics: use raw type of iterator
authoraclement <aclement>
Mon, 11 Jul 2005 10:53:01 +0000 (10:53 +0000)
committeraclement <aclement>
Mon, 11 Jul 2005 10:53:01 +0000 (10:53 +0000)
weaver/testsrc/org/aspectj/weaver/bcel/WorldTestCase.java

index d48c7cac4dee66642eb1ed66224b8b6e86a84331..1e4eabd5e708ac04f5dd7744dce4f3a1f0895c80 100644 (file)
@@ -96,7 +96,7 @@ public class WorldTestCase extends AbstractWorldTestCase {
 
     public void testIterator() {
         int abstractPublic = Modifier.ABSTRACT | Modifier.PUBLIC;
-        ResolvedTypeX iter = world.getCoreType(TypeX.forName("java.util.Iterator"));
+        ResolvedTypeX iter = world.getCoreType(TypeX.forRawTypeNames("java.util.Iterator"));
       
         modifiersTest(iter, abstractPublic | Modifier.INTERFACE);
         fieldsTest(iter, ResolvedMember.NONE);