To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82983
Issue #|82983
Summary|WaE on 64bit Linux: jvmfwk
Component|porting
Version|680m234
Platform|Opteron/x86_64
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|jl
Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Thu Oct 25 19:06:43 +0000
2007 -------
Hi,
on 64bit Linux:
/home/oo/BuildDir/ooo_SRC680_m234_src/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx:
In
function 'javaPluginError jfw_plugin_startJavaVirtualMachine(const JavaInfo*,
const JavaVMOption*,
sal_Int32, JavaVM**, JNIEnv**)':
/home/oo/BuildDir/ooo_SRC680_m234_src/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx:
453: warning: variable 't' might be clobbered by 'longjmp' or 'vfork'
This fixes it:
diff -ur
ooo_SRC680_m233_src.orig/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
ooo_SRC680_m233_src/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
--- ooo_SRC680_m233_src.orig/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
2007-10-13 11:42:08.000000000 +0200
+++ ooo_SRC680_m233_src/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
2007-10-13 11:44:01.000000000 +0200
@@ -450,7 +450,7 @@
JavaVM ** ppVm,
JNIEnv ** ppEnv)
{
- osl::MutexGuard guard(PluginMutex::get());
+ volatile osl::MutexGuard guard(PluginMutex::get());
// unless errcode is volatile the following warning occurs on gcc:
// warning: variable 'errcode' might be clobbered by `longjmp' or `vfork'
volatile javaPluginError errcode = JFW_PLUGIN_E_NONE;
What do you think about this fix? I can cws process it after review to save
your time...
---------------------------------------------------------------------
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]