Community
Participate
Working Groups
Example: Interface ISomething { public Class<? extends MyClass> getSomething(); } Implemention: Demo implements ISomething { public Class getSomething(){ return .... } } I think, a warning should appear when you try to remove the Generic Type. javac -XLint: warning: getSomething() in Demo implements getSomething() in ISomething; return type requires unchecked conversion found: java.lang.Class required: java.lang.Class<? extends MyClass> hth cybi
This is work for the method verifier.
Fixed in HEAD & added test 279.