Summary: | Compiler warning/error for dangerous switch/case | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Joerg Pleumann <joerg> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | akiezun, markus.kell.r, uwe_ewald |
Version: | 2.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Joerg Pleumann
2003-01-24 11:36:37 EST
Nice to have. Will reconsider post 2.1 If we report these, we should also consider allowing them if there is a comment which explicitely states the fall through scenario. case 1: ... // fallthrough case 2: ... Any comment would do the trick. *** Bug 43481 has been marked as a duplicate of this bug. *** In 1.5 mode, these warnings should be suppressible by a @SuppressWarnings("fallthrough ") annotation. Time permitting, but likely beyond 3.1 As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. |