Bug 40210 - ICompilationUnit#isWorkingCopy() misbehaving for discarded working copies
Summary: ICompilationUnit#isWorkingCopy() misbehaving for discarded working copies
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 09:36 EDT by Philipe Mulet CLA
Modified: 2003-07-17 12:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-07-16 09:36:37 EDT
Build 20030715

When a non-primary working copy is discarded, a removed delta is notified, and 
clients cannot easily figure whether it was a working copy before since the 
predicate answers false once the working copy got destroyed.

In 2.1 stream, a working copy handle was always answering true to 
#isWorkingCopy, even after having been destroyed.

Need to provide backward compatible behavior.
Comment 1 Philipe Mulet CLA 2003-07-16 09:51:18 EDT
Fixed, will contribute to 3.0M3 rebuild.
Comment 2 David Audel CLA 2003-07-17 12:25:18 EDT
Verified.