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





------- Additional comments from [EMAIL PROTECTED] Mon Jul 18 01:21:48 -0700 
2005 -------
JL->ericb: I think modifiying code outside the jvmfwk project to get Java to
function is bad. This is what jvmfwk is for. It is intenteded to encapsulate all
Java - vendor related stuff. We try to avoid platform dependent code as much as
we can because this makes maintainance very hard. This is why we have projects,
such as sal and jvmfwk.

As I understood the problem here is that the VM cannot be started in the main
thread. My suggestion is:

-create a jvm plugin library
-modify jfw_plugin_startJavaVirtualMachine so that it starts the VM in a
different thread.

The problem is, that jvmfwk unloads the plugins. However, to test if your plugin
works you could modify line 389 of jvmfwk/source/framework.cxx:

//The Module class unloads the library in its destructor
//              osl::Module modulePlugin(sLibPath);
osl_loadModule(sLibPath.pData, SAL_LOADMODULE_DEFAULT);


If this work I would introduce a optional function for the plugins:

int jfw_plugin_canUnloadAfterVMCreation()

Your plugin would return 0. The framework would take this into account (needs to
be implemented).

Please create a new plugin and do not use sunjavaplugin for this. A good place
for the code would be jvmfwk/plugins/mac or jvmfwk/plugins/mac/pluginlib. 
BTW. you could still use javaldx.

Let me know if this works for you.

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