Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
41e8c36d
Kaydet (Commit)
41e8c36d
authored
Eyl 21, 2012
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
Eyl 21, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No juh library to load in the disable-dynloading case (on Android)
Change-Id: I6a5eefe86e23499b555b34c6ba2ebe131e109304
üst
b247950e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
RegistryServiceFactory.java
...lper/com/sun/star/comp/helper/RegistryServiceFactory.java
+18
-1
SharedLibraryLoader.java
...ohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
+18
-1
No files found.
javaunohelper/com/sun/star/comp/helper/RegistryServiceFactory.java
Dosyayı görüntüle @
41e8c36d
// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
/*
* This file is part of the LibreOffice project.
*
...
...
@@ -31,7 +32,22 @@ import com.sun.star.uno.RuntimeException;
*/
public
class
RegistryServiceFactory
{
static
{
System
.
loadLibrary
(
"juh"
);
if
(
System
.
getProperty
(
"java.vendor"
)
==
"The Android Project"
)
{
// See corresponding code in
// javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more
// comments.
boolean
disable_dynloading
=
false
;
try
{
System
.
loadLibrary
(
"lo-bootstrap"
);
}
catch
(
UnsatisfiedLinkError
e
)
{
disable_dynloading
=
true
;
}
if
(!
disable_dynloading
)
System
.
loadLibrary
(
"juh"
);
}
else
System
.
loadLibrary
(
"juh"
);
}
private
static
native
Object
createRegistryServiceFactory
(
...
...
@@ -157,3 +173,4 @@ public class RegistryServiceFactory {
}
}
// vim:set shiftwidth=4 softtabstop=4 expandtab:
javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
Dosyayı görüntüle @
41e8c36d
// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
/*
* This file is part of the LibreOffice project.
*
...
...
@@ -45,7 +46,22 @@ public class SharedLibraryLoader {
public
static
final
String
DEFAULT_IMPLEMENTATION
=
"com.sun.star.comp.stoc.DLLComponentLoader"
;
static
{
System
.
loadLibrary
(
"juh"
);
if
(
System
.
getProperty
(
"java.vendor"
)
==
"The Android Project"
)
{
// See corresponding code in
// javaunohelper/com/sun/star/comp/helper/Bootstrap.java for more
// comments.
boolean
disable_dynloading
=
false
;
try
{
System
.
loadLibrary
(
"lo-bootstrap"
);
}
catch
(
UnsatisfiedLinkError
e
)
{
disable_dynloading
=
true
;
}
if
(!
disable_dynloading
)
System
.
loadLibrary
(
"juh"
);
}
else
System
.
loadLibrary
(
"juh"
);
}
private
static
native
boolean
component_writeInfo
(
...
...
@@ -148,3 +164,4 @@ public class SharedLibraryLoader {
}
}
// vim:set shiftwidth=4 softtabstop=4 expandtab:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment