To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77430
                 Issue #|77430
                 Summary|Java sample DocumentPrinter doesn't shutdown
               Component|udk
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|petavy





------- Additional comments from [EMAIL PROTECTED] Wed May 16 14:42:28 +0000 
2007 -------
Hi.

Windows XP SP2 all online Service Packs.
OO SDK 1.1
Java 6u1

The last line in the Java sample "DocumentPrinter" is a "System.exit(0)".
If I comment out this line, the application doesn't terminate until I close the
soffice.exe (started before with the socket connector command).

I can see that UNO creates some Thread which seems to prevent the application to
terminate. The call to "System.exit(0)" seems to trigger a shutdown hook so the
thread will be terminated and the applications then terminates.

How can I terminate this UNO Thread not using "System.exit(0)" ?

Thanks in advance

---------------------------------------------------------------------
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]

Reply via email to