To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88781
Issue #|88781
Summary|OOo fails to execute java-shutdown hooks
Component|framework
Version|OOo 2.4.0
Platform|All
URL|
OS/Version|All
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P4
Subcomponent|code
Assigned to|tm
Reported by|holgerbrandl
------- Additional comments from [EMAIL PROTECTED] Sun Apr 27 15:38:44 +0000
2008 -------
The following snippet should make the jvm to execute a code snippet when the jvm
is shutting down. Unfortunately it's never executed when used within a
OOo-java-extension. Maybe the cause of the problem is that the internal JVM is
not properly shut down but simply aborted.
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
super.run();
try {
// do something when OOo shuts-down
} catch (BackingStoreException e) {
e.printStackTrace();
}
}
});
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]