Summary: | [1.5][compiler] exhaustive enum switch not noticed | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Adam Kiezun
2005-05-03 15:06:11 EDT
Nice idea but remember that due to binary compatibility, one may add an enum constant, not recompile client code, and suddenly one could traverse the entire switch. Javac agrees with us. |