|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 20:17:20
|
[ http://jira.springframework.org/browse/RCP-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-298:
-----------------------------
Fix Version/s: 1.x
> closing a spring rich application should not call system.exit
> -------------------------------------------------------------
>
> Key: RCP-298
> URL: http://jira.springframework.org/browse/RCP-298
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Application Framework
> Reporter: Brian Ross
> Fix For: 1.x
>
>
> Application.close() ends with a call to System.exit(0).
> This will kill the JVM, which in many cases is inappropriate. For example, the spring rich application may be launched from inside another application running in the JVM and this call will bring down the entire process.
> Simply removing the call will prevent this from happening, but will introduce another problem. If you try to relaunch the spring rich application, you will get an error because the application context still exists. The solution is to replace the call to System.exit(0) with the line:
> SOLE_INSTANCE = null;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|