Community
Participate
Working Groups
Build Identifier: 20090920-1017 This appears to work right as long as the "rename in place" pref is set, but I don't use that feature. Reproducible: Always Steps to Reproduce: 1. Preferences/Java/uncheck "Rename in editor without dialog" 2. Create a class 3. In the editor, place IP on the class name, then Refactor/Rename. Choose a new name and press enter. 4. Leaving focus in the editor, Cmd-Z to undo. Expected results: Declared class name changes back, filename changes back. Actual results: Nothing in editor changes, but editor is marked as dirty ("*" appears next to the filename. File name is not changed. Also, attempting to save the editor then gives a "Problem Occurred" dialog, which says Save Failed Illegal value: -1 I'll attach a logfile with a stack trace.
Created attachment 158096 [details] Log file after trying to save post-undo editor
Moving to Platform/Resources
One more comment -- undo does work if you change focus to the Package Explorer and then undo.
Looks like a duplicate of bug 192969
Hm, interesting. Bug 192969 does look like the same symptom, but there's no cause in that bug. So who knows if there are other paths to get to the same problem.
Moving to Platform/Text.
Deepak, please investigate.
*** This bug has been marked as a duplicate of bug 345342 ***