Bug 204805 - ICompilationUnit.commitWorkingCopy doesn't send typeHierarchyChanged
Summary: ICompilationUnit.commitWorkingCopy doesn't send typeHierarchyChanged
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.4 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-27 09:49 EDT by Dani Megert CLA
Modified: 2007-10-30 08:09 EDT (History)
3 users (show)

See Also:


Attachments
Proposed fix and regression test (15.85 KB, patch)
2007-09-27 11:52 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2007-09-27 09:49:14 EDT
I20070925-1406

ICompilationUnit.commitWorkingCopy doesn't send typeHierarchyChanged if the CU isn't consistent. It is only sent if we call reconcile upfront.

Since JDT Text removed that call we now have two failing tests in 
org.eclipse.jdt.ui.tests.core.TypeHierarchyTest.
Comment 1 Jerome Lanneluc CLA 2007-09-27 11:52:19 EDT
Created attachment 79292 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2007-09-27 12:34:28 EDT
Fix and test released for 3.4M3 in HEAD.
Comment 3 David Audel CLA 2007-10-30 08:09:22 EDT
Verified for 3.4M3 using I20071029-0010 build.