Community
Participate
Working Groups
Created attachment 94184 [details] Zip of project Build ID: I20080207-1530 (3.4M5) Steps To Reproduce: 1. Unzip the attached project and compile it 2. Compiler reports: Cannot cast from Set<Class<? extends Object>> to Set<Class> TestCast.java CastProblem/src/foo line 9 3. The same project in 3.3.2 works, giving warnings. When annotated with @SuppressWarnings("unchecked") there are no warnings or errors.
Dup of bug 158870. Basically, 3.3.2 was too permissive, and this was a bug. Added GenericTypeTest#test1310 *** This bug has been marked as a duplicate of bug 158870 ***