| Summary: | [compiler] Add compiler warning for a method declaring both exception E and a subclass of E | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Eugen Paraschiv <hanriseldon> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | NEW --- | QA Contact: | Sasikanth Bharadwaj <sasikanth.bharadwaj> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | hanriseldon, jarthana, Olivier_Thomann, shankhba, srikanth_sankaran |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | 3.9 candidate | ||
Don't expect to get to this enhancement in 3.8 time frame. Shankha, please take a look. |
Build Identifier: A compiler warning for the following case would be very helpfull: void method() throws IOException, FileNotFoundException {...} Because FileNotFoundException extends IOException, the declaration of FileNotFoundException is redundant and should be flaged as such. Reproducible: Always