Community
Participate
Working Groups
3.1RC1 but same problem on 3.1M7 public class A { void f(Object o){ ((Map.Entry)o).setValue("bug"); Map.Entry me= (Map.Entry)o; me.setValue("ok"); ((Vector)o).add("ok"); } } the problem shows up in the first line of the method. The method setValue(V) in the type Map.Entry is not applicable for the arguments (String) javac does not complain here. it's a legit call to a raw object, i think.
We missed a NestedType call in the grammar when consuming annotation type member declarations.
Sorry, wrong PR
Raw conversion did not perform fine on interface member of a raw type when going through QualifiedNameReference scenario. Added GenericTypeTest#test705.
Fixed
Verified for 3.1 RC2 using build N20050607-0010 + JDT/Core HEAD
Verified for 3.1 RC2 using build I20050610-0010