Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319199

Summary: [Compatibility] Renamed file won't open after workbench restart
Product: [Eclipse Project] e4 Reporter: Stefan Mücke <s.muecke>
Component: UIAssignee: Remy Suen <remy.suen>
Status: VERIFIED FIXED QA Contact: Remy Suen <remy.suen>
Severity: normal    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: 4.1 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Stefan Mücke CLA 2010-07-07 18:41:48 EDT
1. Create a Java class with a typo (e.g. 'HelloWordl')
2. Rename the class via rename refactor in the editor
3. Close the workbench
4. Restart the workbench; result: e4 opens an editor with
   the message 'Resource <old name> does not exist.' instead
   of the refactored/renamed file.
Comment 1 Remy Suen CLA 2010-07-13 13:30:26 EDT
This is because we only persist the editor input on editor creation (in EditorReference's constructor).
Comment 2 Remy Suen CLA 2010-08-09 14:39:16 EDT
Fixed in CVS HEAD.
Comment 3 Remy Suen CLA 2010-09-14 08:13:32 EDT
Verified with I20100913-2011 on Windows XP.