|
Duplicate :
|
This program compiles without warnings:
interface Foo {}
interface Bar<X> {}
class Test {
Object m(Foo f) {
return (Bar<Object>)f;
}
}
See also http://forum.java.sun.com/thread.jspa?threadID=642516
###@###.### 2005-07-08 17:34:34 GMT
|