Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351565 - The rc.rcp component remains active even if the RCP-App is not running as an AUT
Summary: The rc.rcp component remains active even if the RCP-App is not running as an AUT
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: RC (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P2 critical (vote)
Target Milestone: Indigo SR1   Edit
Assignee: Zeb Ford-Reitz CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 08:49 EDT by Markus Tiede CLA
Modified: 2011-09-14 05:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Tiede CLA 2011-07-08 08:49:05 EDT
The rc.rcp component remains active - see:

http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/tree/org.eclipse.jubula.rc.rcp/src/org/eclipse/jubula/rc/rcp/accessor/Startup.java#n497

The listeners which get installed here are active even if the RCP-App is not running as an AUT. This may cause undefined performance / memory / behavior issues.
Comment 1 Zeb Ford-Reitz CLA 2011-09-09 06:41:57 EDT
fixed with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=2a3be8f5aa20735dce5fd8e316140d214390cefc

If the host application is not running as an AUT, the rc.rcp bundle is still activated as normal. However, the various listeners will not be registered. This means that the bundle will be "running" within the non-AUT application, but there will be no active code.
Comment 2 Markus Tiede CLA 2011-09-14 05:58:12 EDT
Verified by code review + IDE debugging. Nice unification of rc.rcp startup. :)