From 6dc4c0dccae9eb8cb24623e332977034a7471526 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 2 Dec 2011 11:32:58 +0100 Subject: Added comment. --- javaunohelper/source/preload.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit