Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350915 - Make sure the JavaScriptResponseWriter will be finished after executing the LifeCycle
Summary: Make sure the JavaScriptResponseWriter will be finished after executing the L...
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 311355
  Show dependency tree
 
Reported: 2011-07-01 06:16 EDT by Holger Staudacher CLA
Modified: 2011-07-04 08:35 EDT (History)
0 users

See Also:


Attachments
Testcase (1.76 KB, patch)
2011-07-01 06:17 EDT, Holger Staudacher CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.