Bug 339276 - Dead Code detection removing code that isn't dead (see bug 332637)
Summary: Dead Code detection removing code that isn't dead (see bug 332637)
Status: VERIFIED DUPLICATE of bug 339250
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 14:55 EST by Sualeh Fatehi CLA
Modified: 2011-03-10 09:23 EST (History)
2 users (show)

See Also:


Attachments
Test class that shows the bug behavior (196 bytes, text/java)
2011-03-08 14:56 EST, Sualeh Fatehi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sualeh Fatehi CLA 2011-03-08 14:55:45 EST
Build Identifier: 3.6.2

Dead Code detection removing code that isn't dead (see bug 332637). See attached code.

Reproducible: Always

Steps to Reproduce:
1. Run the attached test class in Eclipse 3.6.2 (or even in Eclipse 3.6.1.).
Comment 1 Sualeh Fatehi CLA 2011-03-08 14:56:54 EST
Created attachment 190688 [details]
Test class that shows the bug behavior
Comment 2 Olivier Thomann CLA 2011-03-08 15:01:21 EST
The warning is not fixed in HEAD, but the code generation is fixed.
Comment 3 Sualeh Fatehi CLA 2011-03-08 15:10:50 EST
Any plans to back-port to 3.6.x?
Comment 4 Olivier Thomann CLA 2011-03-08 15:20:26 EST
This is possible even if 3.6.2 is already out.
We need first more testing of the fix in HEAD.
Comment 5 Olivier Thomann CLA 2011-03-09 08:51:40 EST
Closing as a dup of bug 339250.

*** This bug has been marked as a duplicate of bug 339250 ***
Comment 6 Olivier Thomann CLA 2011-03-10 09:23:24 EST
Verified for 3.7M6.