Bug 300504 - Interesting case of not finding dead code
Summary: Interesting case of not finding dead code
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:46 EST by Dani Megert CLA
Modified: 2010-03-08 01:37 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2010-01-22 10:46:45 EST
I20100121-0800.

1. check out org.eclipse.test.performance.ui from HEAD
==> OK: dead code errors in ConfigTab.fillTableLines(boolean)
==> in the same method just some lines below the exact same code pattern is not flagged as dead code
Comment 1 Ayushman Jain CLA 2010-01-27 03:06:15 EST
I could not find this project in HEAD. Are you sure this is the one?
Comment 2 Dani Megert CLA 2010-01-27 03:15:52 EST
>I could not find this project in HEAD. Are you sure this is the one?
Yes, of course ;-)

You need to know that the performance framework is inside the base builder:
  org.eclipse.releng.basebuilder/plugins/
Comment 3 Ayushman Jain CLA 2010-01-27 03:36:03 EST
Thanx for pointing it out. Checked out the project.
Unfortunately with build I20100122-0800, I couldn't get ANY dead code warning in the specified method. Could you also point out the exact code which should show the warning?
Comment 4 Ayushman Jain CLA 2010-01-27 03:59:45 EST
Closing as WORKSFORME, since the problem was build-specific.
Comment 5 Dani Megert CLA 2010-01-27 04:21:24 EST
>Closing as WORKSFORME, since the problem was build-specific.
Agree: I could not reproduce using I20100126-0800.
Comment 6 Dani Megert CLA 2010-01-27 04:21:44 EST
.