Community
Participate
Working Groups
I'm running 3.2 M2 (I20050923-1000) and I get this error on code that compiles fine on javac and 3.1: "Type mismatch: cannot convert from Set<Object> to Set<? extends SomeClassOrInterface>". The code in question generally looks like this: public Set< ? extends ConstructorModifier> getModifiers() { return Collections.emptySet(); } I'm not sure exactly when this broke, as I didn't try it with 3.2 M1, but it worked in 3.1.
Dup. Added GenericTypeTest#test844. *** This bug has been marked as a duplicate of 112268 ***
Verified in M20060109-0800 for 3.1.2