Bug 219235 - stale state
Summary: stale state
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.5 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-02-16 13:00 EST by Jeff McAffer CLA
Modified: 2008-09-15 09:17 EDT (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 Jeff McAffer CLA 2008-02-16 13:00:44 EST
in i02012

This report is somewhat vague but I wanted to capture my experience in case others are seeing the same thing.

In a few cases while developing some code it appears that the JDT state was getting stale for particular classes.  For example, I had some code that threw and exception so the following code was marked as unreachable.  Makes sense.  I removed the exceptoin and saved but the error remained.  I had to do other changes in the code and save again to get the errors to go away.

I had a similar problem when I had a problem (don't remember what it was), I fixed it but the error did not go away until I fixed another error (adding a try/catch block).  It was quite confusing because I fixed the first problem and saved but the error did not go away.

Since this all happened in the normal flow of development I do not have easy steps to reproduce.  Treat this as one data point...
Comment 1 Jerome Lanneluc CLA 2008-03-19 11:16:31 EDT
Unfortunately there is not much we can do here without that little information. Do you still have the code you made reference to in the sentence: "the following code was marked as unreachable"?
Comment 2 Jerome Lanneluc CLA 2008-08-26 07:41:28 EDT
Not enough information. Please reopen if you have more details
Comment 3 Frederic Fusier CLA 2008-09-15 09:17:27 EDT
Verified for 3.5M2 using I20080914-2000.