Community
Participate
Working Groups
build I20040901 1) create Y.java package p; import java.util.Collection; public class Y { public Collection<String> get() { return null; } } 2) create X.java import p.Y; public class X { void foo(Y y) { for(String s : y.get()) { } } } There is no error message inside Problem window but an error is shown inside the java editor of Y.java ("Type mismatch: cannot convert from element type Object to String")
Verified this now works with I200411022000