To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92926





------- Additional comments from cl...@openoffice.org Thu Feb 17 15:39:10 +0000 
2011 -------
thanks for the alternative patch, I'll try it later on PPC/10.4, just one 
question regarding my patch:

> note that that patch is not correct, as the code in
> stoc/source/javavm/javavm.cxx expects the JNIEnv* returned from jfw_startVM to
> be attached to the current thread, which it no longer would be.

Yes, but only to detach it right away, so the patch just skips that step:

What am I missing? (feel free to reply by mail instead of commenting here)
--- stoc/source/javavm/javavm.cxx       (revision 276725)
+++ stoc/source/javavm/javavm.cxx       (working copy)
@@ -950,7 +950,9 @@
         if (bStarted)
         {
             {
+#ifndef MACOSX // Mac creates the JVM in a seperate thread already
                 DetachCurrentThread detach(m_pJavaVm);
+#endif
                     // necessary to make debugging work; this thread will be
                     // suspended when the destructor of detach returns
                 m_xVirtualMachine = new jvmaccess::VirtualMachine(


---------------------------------------------------------------------
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: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to