Summary: | Override method on generic type with internal class needs to be qualified | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jordi Hernandez <jordihs> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 RC2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Jordi Hernandez
2005-06-10 14:54:48 EDT
With the latest I do not see any problems with this case: public abstract class Foo<T> { protected class SomeObject {} abstract SomeObject getSomeObject(); } class Bar extends Foo<Baz> { @Override SomeObject getSomeObject() { return null; } } class Baz {} Please reopen if you still encounter the problem with a new build or if I extracted the testcase incorrectly. (In reply to comment #1) > With the latest I do not see any problems with this case: > > public abstract class Foo<T> { > protected class SomeObject {} > abstract SomeObject getSomeObject(); > } > class Bar extends Foo<Baz> { > @Override SomeObject getSomeObject() { return null; } > } > class Baz {} > > Please reopen if you still encounter the problem with a new build or if I > extracted the testcase incorrectly. I tried with RC1. I'll wait until RC2 goes public and retest. Thanks a lot. |