Summary: | [compiler] Eclipse compiler does not compile program while javac does | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | e2e4e7e5f2f4 <e2e4e7e5f2f4> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | david_audel, kent_johnson |
Version: | 3.1.2 | ||
Target Milestone: | 3.4 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
e2e4e7e5f2f4@yahoo.de
2006-03-28 17:16:57 EST
I think it is worth reporting the explanation from the book. "The set of checked exceptions that a method can throw is the intersection of the sets of checked exceptions that it is declared to throw in all applicable types., not the union." This means that f cannot throw any checked exceptions at all. So the code should compile. *** This bug has been marked as a duplicate of 79798 *** Verified for 3.4M7 using I20080427-2000 |