Community
Participate
Working Groups
200411022000 The type bindings for a raw List and a List<E> (from declaration or from aListBinding.getErasure()) have the same key "java.util/List". I think the second one should be something like "java.util/List<E>"
Changed the binding key of parameterized type to include the type parameters. Added regression test ASTConverter15Tests#test061()
Nope, with the code in HEAD and in I20041109-0800, both versions still have the same key (which is 'java.util/List<E:java.lang.Object,>' now).
I don't get it. There must be some randomness involved here. I have this CU: package test; import java.util.List; public class A { List li; } The key of the type binding for 'List' (in field declaration) is 'java.util/List<E:java.lang.Object,>'. However, in this CU, the key of the same type binding is 'java.util/List': package test; import java.util.List; public class B { List li; void test(List list, Integer integer) { list.add(integer); } } Raising severity to major.
Sorry about that Markus. I changed the key for parameterized types and generic types, but this changed the raw type key as well, when it should have stayed the same. Fixed in HEAD. Added regression test ASTConverter15Test#test0066.
Verified for 3.1 M4 using build I200412140800. Using ASTView 1.0.2.