[Libreoffice-commits] .: javaunohelper/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Fri Dec 2 02:33:16 PST 2011
javaunohelper/source/preload.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6dc4c0dccae9eb8cb24623e332977034a7471526
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Dec 2 11:32:58 2011 +0100
Added comment.
diff --git a/javaunohelper/source/preload.cxx b/javaunohelper/source/preload.cxx
index de7c2ec..cfaa5aa 100644
--- a/javaunohelper/source/preload.cxx
+++ b/javaunohelper/source/preload.cxx
@@ -32,6 +32,10 @@
#include "rtl/ustring.hxx"
#include "osl/module.h"
+// In retrospect, the reason to create a juh wrapper around the juhx library was
+// probably because java.lang.System.loadLibrary uses RTLD_LOCAL, so uniqueness
+// of GCC RTTI symbols needed for exception handling would not be guaranteed.
+
#define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
#if ! defined SAL_DLLPREFIX
More information about the Libreoffice-commits
mailing list