summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/source/preload.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/javaunohelper/source/preload.cxx b/javaunohelper/source/preload.cxx
index de7c2ec24bdb..cfaa5aa82ddf 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