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

Bug 365296

Summary: Undoing a Java refactoring corrupts a JSP
Product: [WebTools] WTP Source Editing Reporter: Mauro Molinari <mauromol>
Component: jst.jspAssignee: jst.jsp <jst.jsp-inbox>
Status: NEW --- QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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