Bug 127730 - [compiler] skip fall-through case warning when the fall-through is documented
Summary: [compiler] skip fall-through case warning when the fall-through is documented
Status: RESOLVED DUPLICATE of bug 245257
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Maxime Daniel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 10:44 EST by Maxime Daniel CLA
Modified: 2008-08-27 06:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2006-02-14 10:44:41 EST
Fup on bug 67836.

The idea is to give the programmer a reasobable means to indicate that the fall-through is deliberate.
Comment 1 Maxime Daniel CLA 2006-02-14 10:46:58 EST
See FlowAnalysisTest test 12 for an example.

Desirable variants may exist. (Aka any comment that can 'reasonably' be considered as attached to the case that follows it.)
Comment 2 Dani Megert CLA 2008-02-07 03:11:48 EST
+1. See org.eclipse.jdt.internal.ui.preferences.formatter.ProfileVersioner for a good use case.
Comment 3 Philipe Mulet CLA 2008-08-27 06:19:36 EDT

*** This bug has been marked as a duplicate of bug 245257 ***