Bug 339276

Summary: Dead Code detection removing code that isn't dead (see bug 332637)
Product: [Eclipse Project] JDT Reporter: Sualeh Fatehi <sualeh>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: VERIFIED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: Olivier_Thomann, sualeh
Version: 3.6.2   
Target Milestone: 3.7 M6   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=332637
Whiteboard:
Attachments:
Description Flags
Test class that shows the bug behavior none

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.