Summary: | Should not report incompatible throws clause for interface if Object non public ref method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2003-01-22 06:30:25 EST
Build 2.1M4 interface I { Object clone() throws Exception; } should compile ok (possibly issuing a warning). Fixed, we now issue: ---------- 1. WARNING in d:\eclipse\workspaces\dev2.0\plugins\Crap\src\X.java (at line 13) Object clone() throws Exception; ^^^^^^^^^^^^^^^^^^^^^^^^ Exception Exception is not compatible with throws clause in Object.clone(), thus this interface cannot be implemented ---------- Fixed Verified. |