forked from amazingfate/loongoffice
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:
@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user