Make ure/source/uretest/ use defaultBootstrap_InitialComponentContext

...instead of the ure executable's obsolte -ro arguments (leading to usage of
deprecated bootstrap_InitialComponentContext with an XSimpleRegistry instead).

The com.sun.star.lang.MultiServiceFactory service is (only) implemented by the
cppuhelper/source/defaultbootstrap.cxx ServiceManager itself, but it doesn't add
itself to its list of know services, so cppmain.cc should not test for it.

Change-Id: Iaaf8d466fe3607ab9bac6aba09396809e53404f3
This commit is contained in:
Stephan Bergmann
2012-12-18 18:01:35 +01:00
parent 9780454ab8
commit 0c1dc375b4
4 changed files with 27 additions and 42 deletions

View File

@ -23,9 +23,7 @@ import test.java.tester.Tester;
public final class JavaNative {
public static void main(String[] arguments) throws Exception {
Tester.test(
Bootstrap.defaultBootstrap_InitialComponentContext(
arguments[0], null));
Tester.test(Bootstrap.defaultBootstrap_InitialComponentContext());
}
private JavaNative() {}