Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365296 - Undoing a Java refactoring corrupts a JSP
Summary: Undoing a Java refactoring corrupts a JSP
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 06:06 EST by Mauro Molinari CLA
Modified: 2011-12-01 13:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Molinari CLA 2011-12-01 06:06:39 EST
Build Identifier: 20110916-0149

After undoing a Java refactoring, the JSP gets totally corrupted

Reproducible: Always

Steps to Reproduce:
1. repeat all the steps in bug #365294, having both the Java editor and the JSP editor open, with no compilation errors
2. go to MyClass and rename it (using Ctrl+Shift+R) to MyTestClass
3. go to the JSP
4. hit Ctrl+Z to undo the refactoring; do not save
5. go to the MyTestClass and hit Ctrl+Z
6. go back to the JSP: the editor is not marked dirty anymore; anyway, the contents of the JSP editor is totally messed up