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
471cbb05
Kaydet (Commit)
471cbb05
authored
Ock 28, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bool improvements
Change-Id: I418611622b4b47ed5a4fa2ab99afb25371b186f6
üst
62736c5f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
14 deletions
+21
-14
sunjavaplugin.cxx
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+15
-8
sunversion.cxx
jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+2
-2
util.cxx
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+1
-1
elements.cxx
jvmfwk/source/elements.cxx
+1
-1
framework.cxx
jvmfwk/source/framework.cxx
+2
-2
No files found.
jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
Dosyayı görüntüle @
471cbb05
...
...
@@ -254,7 +254,8 @@ javaPluginError jfw_plugin_getAllJavaInfos(
{
//The minVersion was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
ouMinVer
+
" for vendor: "
+
cur
->
getVendor
()
+
" .Check minimum Version."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -272,7 +273,8 @@ javaPluginError jfw_plugin_getAllJavaInfos(
{
//The maxVersion was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
ouMaxVer
+
" for vendor: "
+
cur
->
getVendor
()
+
" .Check maximum Version."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -295,7 +297,8 @@ javaPluginError jfw_plugin_getAllJavaInfos(
{
//The excluded version was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
sExVer
+
" for vendor: "
+
cur
->
getVendor
()
+
" .Check excluded versions."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -378,7 +381,8 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
{
//The minVersion was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
ouMinVer
+
" for vendor: "
+
aVendorInfo
->
getVendor
()
+
" .Check minimum Version."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -398,7 +402,8 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
{
//The maxVersion was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
ouMaxVer
+
" for vendor: "
+
aVendorInfo
->
getVendor
()
+
" .Check maximum Version."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -419,7 +424,8 @@ javaPluginError jfw_plugin_getJavaInfoByPath(
{
//The excluded version was not recognized as valid for this vendor.
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin does not know version: "
false
,
"[Java framework]sunjavaplugin does not know version: "
+
sExVer
+
" for vendor: "
+
aVendorInfo
->
getVendor
()
+
" .Check excluded versions."
);
return
JFW_PLUGIN_E_WRONG_VERSION_FORMAT
;
...
...
@@ -579,7 +585,8 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
if
((
moduleRt
=
osl_loadModule
(
sRuntimeLib
.
pData
,
SAL_LOADMODULE_DEFAULT
))
==
0
)
#endif
{
JFW_ENSURE
(
0
,
"[Java framework]sunjavaplugin"
SAL_DLLEXTENSION
JFW_ENSURE
(
false
,
"[Java framework]sunjavaplugin"
SAL_DLLEXTENSION
" could not load Java runtime library:
\n
"
+
sRuntimeLib
+
"
\n
"
);
JFW_TRACE0
(
"[Java framework]sunjavaplugin"
SAL_DLLEXTENSION
...
...
@@ -606,7 +613,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
moduleRt
,
sSymbolCreateJava
.
pData
);
if
(
!
pCreateJavaVM
)
{
OSL_ASSERT
(
0
);
OSL_ASSERT
(
false
);
OString
sLib
=
OUStringToOString
(
sRuntimeLib
,
osl_getThreadTextEncoding
());
OString
sSymbol
=
OUStringToOString
(
...
...
jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
Dosyayı görüntüle @
471cbb05
...
...
@@ -74,7 +74,7 @@ bool SunVersion::init(const char *szVersion)
char
buf
[
128
];
//char must me a number 0 - 999 and no leading
while
(
1
)
while
(
true
)
{
if
(
pCur
<
pEnd
&&
isdigit
(
*
pCur
))
{
...
...
@@ -128,7 +128,7 @@ bool SunVersion::init(const char *szVersion)
if
(
*
(
pCur
-
1
)
==
'_'
)
{
// _01, _02
// update is the last part _01, _01a, part 0 is the digits parts and 1 the trailing alpha
while
(
1
)
while
(
true
)
{
if
(
pCur
<=
pEnd
)
{
...
...
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
Dosyayı görüntüle @
471cbb05
...
...
@@ -460,7 +460,7 @@ bool getJavaProps(const OUString & exePath,
//Use this thread to read output stream
FileHandleReader
::
Result
rs
=
FileHandleReader
::
RESULT_OK
;
while
(
1
)
while
(
true
)
{
OString
aLine
;
rs
=
stdoutReader
.
readLine
(
&
aLine
);
...
...
jvmfwk/source/elements.cxx
Dosyayı görüntüle @
471cbb05
...
...
@@ -1074,7 +1074,7 @@ void MergedSettings::merge(const NodeJava & share, const NodeJava & user)
else
if
(
share
.
getEnabled
())
m_bEnabled
=
*
share
.
getEnabled
();
else
m_bEnabled
=
sal_T
rue
;
m_bEnabled
=
t
rue
;
if
(
user
.
getUserClassPath
())
m_sClassPath
=
*
user
.
getUserClassPath
();
...
...
jvmfwk/source/framework.cxx
Dosyayı görüntüle @
471cbb05
...
...
@@ -371,7 +371,7 @@ javaFrameworkError SAL_CALL jfw_startVM(
"-Djava.class.path="
+
jfw
::
BootParams
::
getClasspath
();
}
else
OSL_ASSERT
(
0
);
OSL_ASSERT
(
false
);
pInfo
=
aInfo
.
pInfo
;
}
assert
(
pInfo
!=
NULL
);
...
...
@@ -884,7 +884,7 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath(
{
// plugin does not recognize this path as belonging to JRE
continue
;
}
OSL_ASSERT
(
0
);
OSL_ASSERT
(
false
);
}
if
(
*
ppInfo
==
NULL
&&
errcode
!=
JFW_E_FAILED_VERSION
)
errcode
=
JFW_E_NOT_RECOGNIZED
;
...
...
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