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

Bug 350915

Summary: Make sure the JavaScriptResponseWriter will be finished after executing the LifeCycle
Product: [RT] RAP Reporter: Holger Staudacher <holger.staudacher>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 311355    
Attachments:
Description Flags
Testcase none

Description Holger Staudacher CLA 2011-07-01 06:16:18 EDT
During the protocol migration period we need to make sure the JavaScriptResponseWriter will be finished when the LifeCycle was executed. We need to make this because the Writer can  hold pending protocol messages.
Comment 1 Holger Staudacher CLA 2011-07-01 06:17:22 EDT
Created attachment 198954 [details]
Testcase

This is a test case for the verification. Of course it's red right now. We can use this test to implement the finishing.
Comment 2 Holger Staudacher CLA 2011-07-04 08:35:39 EDT
Changes are in CVS HEAD now. The new test is located in LifeCycleServiceHandler_Test#testFinishesJavaScriptResponseWriter. I also introduced a new method on the ServiceHandler called finishJavaScriptResponseWriter which will be called before the service finishes.