3766f2a0d3
If the object being finalized (A) has the last reference to the UNO object (B), and B is actually a proxy for a remote UNO object, then A and B become eligible for finalization in parallel, and the finalizer of B may already have run when the finalizer for A runs. That means that B may already have been removed from the remote bridge, causing an "unknown OID" error from the remote end when the finalizer of A now tries to make a call on B. (We try to assert that close() has actually been called before finalize() calls delete(), but the corresponding exception may be silently swallowed by the JVM finalization machinery.) This caused spurious "URP: queryInterface request message with unknown OID received" failures during JunitTest_dbaccess_unoapi. Change-Id: Ia47c3ef2c22a6adc75b1b8271eb4b3140accebe7
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
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_Jar_Jar,ConnectivityTools))
|
|
|
|
$(eval $(call gb_Jar_use_jars,ConnectivityTools,\
|
|
ridl \
|
|
unoil \
|
|
jurt \
|
|
juh \
|
|
java_uno \
|
|
OOoRunner \
|
|
))
|
|
|
|
$(eval $(call gb_Jar_use_system_jars,ConnectivityTools, \
|
|
$(OOO_JUNIT_JAR) \
|
|
))
|
|
|
|
$(eval $(call gb_Jar_set_packageroot,ConnectivityTools,connectivity))
|
|
|
|
$(eval $(call gb_Jar_add_sourcefiles,ConnectivityTools,\
|
|
connectivity/qa/connectivity/tools/AbstractDatabase \
|
|
connectivity/qa/connectivity/tools/CRMDatabase \
|
|
connectivity/qa/connectivity/tools/CsvDatabase \
|
|
connectivity/qa/connectivity/tools/DatabaseAccess \
|
|
connectivity/qa/connectivity/tools/DataSource \
|
|
connectivity/qa/connectivity/tools/DbaseDatabase \
|
|
connectivity/qa/connectivity/tools/FlatFileDatabase \
|
|
connectivity/qa/connectivity/tools/HsqlColumnDescriptor \
|
|
connectivity/qa/connectivity/tools/HsqlDatabase \
|
|
connectivity/qa/connectivity/tools/HsqlTableDescriptor \
|
|
connectivity/qa/connectivity/tools/QueryDefinition \
|
|
connectivity/qa/connectivity/tools/RowSet \
|
|
connectivity/qa/connectivity/tools/sdb/Connection \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|