Bug 51952 - [DCR] warn on fake reachable code
Summary: [DCR] warn on fake reachable code
Status: VERIFIED DUPLICATE of bug 48399
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 07:29 EST by Philipe Mulet CLA
Modified: 2008-12-09 04:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2004-02-13 07:29:01 EST
Build 20040212

The compiler silently optimizes out fake reachable code, and could issue a 
warning when this occurs.

e.g. if (false) System.out.println(...);
Comment 1 Philipe Mulet CLA 2004-04-28 12:31:58 EDT
Post 3.0
Comment 2 Adam Kiezun CLA 2005-08-24 18:37:22 EDT
dup of bug 48399
Comment 3 Philipe Mulet CLA 2005-08-30 16:04:21 EDT
indeed, thx
Comment 4 Philipe Mulet CLA 2005-08-30 16:04:42 EDT

*** This bug has been marked as a duplicate of 48399 ***
Comment 5 Jerome Lanneluc CLA 2008-12-09 04:43:38 EST
Verified for 3.5M4 using I20081209-0100