This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. add this code: public interface I { public <T> T getObject(Class<T> c); } 2! add this code: public class C { public <T> T getObject(Class<T> c) { ... } } the method in class 'C' does not get the overridden symbol.
whoops! that secnond code snippet should be: public class C implements I { public <T> T getObject(Class<T> c) { ... } }
*** This issue has been marked as a duplicate of 48469 ***
this bug may be caused by the same code but clearly not a duplicate...
This is not a duplicate. I have marked it by mistake. Sorry ...
old target milestone, please re-evaluate
I'll take a look at this.
Fixed. Checking in src/org/netbeans/modules/java/OverrideAnnotationSupport.java; /cvs/java/src/org/netbeans/modules/java/OverrideAnnotationSupport.java,v <-- OverrideAnnotationSupport.java new revision: 1.18; previous revision: 1.17 done
Arrays still not working. Try class A { <T> T[] getVal(T[] p1) {return null;} } class B extends A { <E> E[] getVal(E[] p1) {return null;} }
Fixed. Checking in src/org/netbeans/modules/java/OverrideAnnotationSupport.java; /cvs/java/src/org/netbeans/modules/java/OverrideAnnotationSupport.java,v <-- OverrideAnnotationSupport.java new revision: 1.19; previous revision: 1.18 done