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.
Summary: | Missing support of covariant return types | ||
---|---|---|---|
Product: | java | Reporter: | Jan Pokorsky <jpokorsky> |
Component: | Unsupported | Assignee: | Martin Matula <mmatula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Pokorsky
2004-12-02 16:33:17 UTC
Could you provide a concrete example (steps to reproduce)? class A {} class B extends A {} abstract class Sup { A someMethod(); } class Sub extends Sup { B someMethod(); } Sub.someMethod() should be annotated as 'Implements'. 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.16; previous revision: 1.15 done |