summaryrefslogtreecommitdiffstats
path: root/javaunohelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-02 11:32:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-02 11:32:58 +0100
commit6dc4c0dccae9eb8cb24623e332977034a7471526 (patch)
tree643b7a4324f886ab353ec7e50058a9e11dae91ba /javaunohelper
parentAlso demote DBG_ASSERTWARNING to SAL_INFO, to reduce output clutter. (diff)
downloadcore-6dc4c0dccae9eb8cb24623e332977034a7471526.tar.gz
core-6dc4c0dccae9eb8cb24623e332977034a7471526.zip
Added comment.
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