Bug 222213 - Java model not updated after quick fix 'Add unimplemented methods'
Summary: Java model not updated after quick fix 'Add unimplemented methods'
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 07:32 EDT by Markus Keller CLA
Modified: 2008-03-26 05:45 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix and regression test (3.64 KB, patch)
2008-03-19 13:17 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 Markus Keller CLA 2008-03-11 07:32:17 EDT
HEAD and 3.4M5, was OK in 3.3.2

- paste to Package Explorer:

package xy;
import java.util.Collection;
public class Coll implements Collection {

}

- set caret into 'Coll'
- Ctrl+1, Enter (quick fix 'Add unimplemented methods')

=> CU is reconciled (see rawness warnings in added methods), but the Java model is  not updated: Neither Package Explorer nor Outline view show the newly added children of 'Coll'. Does not look like a problem with delta processing, since the JavaElement View also does not know the children.

Saving the editor does not help, but adding/removing a space somewhere resolves the problem.
Comment 1 Jerome Lanneluc CLA 2008-03-19 13:17:07 EDT
Created attachment 92937 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2008-03-20 10:03:27 EDT
Fix and test released for 3.4M6
Comment 3 David Audel CLA 2008-03-26 05:45:14 EDT
Verified for 3.4M6 using build I20080324-1300.