The base script provider in Java for several languages was throwing an exception when trying to rename an empty library. The browsenodes member variable was being lazily created when getChildNodes was called but in the case where there were no children it was being left as null which was causing a Java runtime exception. Change-Id: I0d9eac2006bc26d47c22f2e1a7a4424fd67a512f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207152 Tested-by: Jenkins Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
|
|
#
|
|
# 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_CppunitTest_CppunitTest,scripting_beanshell))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,scripting_beanshell, \
|
|
scripting/qa/cppunit/beanshell/beanshelltest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,scripting_beanshell, \
|
|
cppu \
|
|
cppuhelper \
|
|
jvmfwk \
|
|
sal \
|
|
subsequenttest \
|
|
test \
|
|
unotest \
|
|
utl \
|
|
tl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,scripting_beanshell,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,scripting_beanshell,\
|
|
udkapi \
|
|
offapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_jars,scripting_beanshell, \
|
|
ScriptProviderForBeanShell \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,scripting_beanshell))
|
|
$(eval $(call gb_CppunitTest_use_vcl,scripting_beanshell))
|
|
$(eval $(call gb_CppunitTest_use_rdbs,scripting_beanshell, \
|
|
services \
|
|
scriptproviderforbeanshell \
|
|
))
|
|
$(eval $(call gb_CppunitTest_use_configuration,scripting_beanshell))
|
|
|
|
# vim: set noet sw=4 ts=4:
|