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
555f024f
Kaydet (Commit)
555f024f
authored
Ara 16, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related fdo#83753: Fix JVM_ONE_PATH_CHECK feature again
Change-Id: I1dc3b0db6295c43a9d29576b81870b4a293a61aa
üst
d54e21ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
util.cxx
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+4
-2
No files found.
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
Dosyayı görüntüle @
555f024f
...
...
@@ -817,14 +817,12 @@ vector<Reference<VendorBase> > addAllJREInfos(
addJavaInfoFromWinReg
(
allInfos
,
addedInfos
);
#endif // WNT
#ifndef JVM_ONE_PATH_CHECK
if
(
checkJavaHomeAndPath
)
{
addJavaInfoFromJavaHome
(
allInfos
,
addedInfos
);
//this function should be called after addJavaInfosDirScan.
//Otherwise in SDKs Java may be started twice
addJavaInfosFromPath
(
allInfos
,
addedInfos
);
}
#endif
#ifdef UNX
addJavaInfosDirScan
(
allInfos
,
addedInfos
);
...
...
@@ -1103,6 +1101,7 @@ void addJavaInfosFromPath(
std
::
vector
<
rtl
::
Reference
<
VendorBase
>>
&
allInfos
,
std
::
vector
<
rtl
::
Reference
<
VendorBase
>>
&
addedInfos
)
{
#if !defined JVM_ONE_PATH_CHECK
// Get Java from PATH environment variable
static
const
char
sCurDir
[]
=
"."
;
static
const
char
sParentDir
[]
=
".."
;
...
...
@@ -1147,6 +1146,7 @@ void addJavaInfosFromPath(
}
while
(
nIndex
>=
0
);
}
#endif
}
...
...
@@ -1154,6 +1154,7 @@ void addJavaInfoFromJavaHome(
std
::
vector
<
rtl
::
Reference
<
VendorBase
>>
&
allInfos
,
std
::
vector
<
rtl
::
Reference
<
VendorBase
>>
&
addedInfos
)
{
#if !defined JVM_ONE_PATH_CHECK
// Get Java from JAVA_HOME environment
// Note that on OS X is it not normal at all to have a JAVA_HOME environment
...
...
@@ -1170,6 +1171,7 @@ void addJavaInfoFromJavaHome(
getAndAddJREInfoByPath
(
sHomeUrl
,
allInfos
,
addedInfos
);
}
}
#endif
}
bool
makeDriveLetterSame
(
OUString
*
fileURL
)
...
...
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