Summary: | [1.5] warning for easily detectible incorrect bounds | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Kiezun
2004-07-22 17:15:26 EDT
There is already a warning for final bounds. Have you seen it ? nope. that sort of fixes it then. ok to close from my side. however, the problem in this report is definitely indicating a bug while a final bound can be ok (you can still use your A<T extends String> class while A<T extends String & RandomAccess> is doomed from the beginning). Using build I200410260800, problem report is: "The type parameter T should not be bounded by the final type String. Final types cannot be further extended" Consider this problem fixed. I'll add this bug to JDT/Core buildnotes. Test case already exists: GenericTypeTest#test021 Verified for 3.1 M3 with build I200411040800 |