3a51daeace
(*) if we are already throwing a Wrapped*Exception, get the exception using cppu::getCaughtexception. (*) when catching and then immediately throwing UNO exceptions, use cppu::getCaughtException to prevent exception slicing (*) if we are going to catch an exception and then immediately throw a RuntimeException, rather throw a WrappedTargetRuntimeException and preserve the original exception information. Change-Id: Ia7a501a50ae0e6f4d05186333c8517fdcb17d558 Reviewed-on: https://gerrit.libreoffice.org/54692 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
33 lines
824 B
Makefile
33 lines
824 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,jvmaccess))
|
|
|
|
$(eval $(call gb_Library_add_defs,jvmaccess,\
|
|
-DJVMACCESS_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_api,jvmaccess,\
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_libraries,jvmaccess,\
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
salhelper \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,jvmaccess,\
|
|
jvmaccess/source/classpath \
|
|
jvmaccess/source/unovirtualmachine \
|
|
jvmaccess/source/virtualmachine \
|
|
))
|
|
|
|
# vim:set noet sw=4 ts=4:
|