Bug 221637 - Try to improve exception handling in IDE
Summary: Try to improve exception handling in IDE
Status: VERIFIED DUPLICATE of bug 79798
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 04:20 EST by Sandeep Katheriya CLA
Modified: 2008-04-29 07:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandeep Katheriya CLA 2008-03-06 04:20:46 EST
I am using eclipse ide version 3.2 and when i tried to compile a program in IDE 
it gives compile time error but this program is working fine in native SDK plateform i.e using commad of javac and java

interface A {

    void f() throws CloneNotSupportedException;

}

interface B {

    void f() throws InterruptedException;

}

interface AB extends A, B {

}

public class C implements AB {

    public void f() {

        System.out.println("Sandeep");

    }

    public static void main(String[] args) {

        AB ab = new C();

        ab.f();

    }

}


above example is given in Java™ Puzzlers: Traps, Pitfalls, and Corner Cases" in  section of "Exceptionals  puzzles" and solution of this problem is also there.

regards,
Sandeep Katheriya
Comment 1 Olivier Thomann CLA 2008-03-06 08:59:57 EST

*** This bug has been marked as a duplicate of bug 79798 ***
Comment 2 David Audel CLA 2008-04-29 07:32:53 EDT
Verified for 3.4M7 using I20080427-2000