Summary: | no message for uncaught exception in try block when return in finally | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | John Dale <john> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | 2.0 M6 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
Description
John Dale
2002-04-28 14:38:06 EDT
This is not a bug in the Eclipse compiler. As described in Bug 13906, the test () method should, as described JLS(2nd edition) 14.19.2, throw the exception, and hence the compiler should consider the code valid. *** This bug has been marked as a duplicate of 13906 *** Correction of earlier comment, inserting missing "NOT": This is not a bug in the Eclipse compiler. As described in Bug 13906 referring to JLS(2nd edition) 14.19.2, test() should NOT throw the exception, and hence the compiler should consider the code valid, as it does. JDK 1.3.1 javac is wrong. Indeed this is a javac bug. |