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
662e3299
Kaydet (Commit)
662e3299
authored
Ara 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix generation of com.sun.star.uno.[Runtime]Exception classes
Change-Id: If9bd4d906906e0e6cd7c5bb61f8a67a163218395
üst
d1577ee1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
javatype.cxx
codemaker/source/javamaker/javatype.cxx
+9
-5
No files found.
codemaker/source/javamaker/javatype.cxx
Dosyayı görüntüle @
662e3299
...
@@ -1825,18 +1825,22 @@ void handleExceptionType(
...
@@ -1825,18 +1825,22 @@ void handleExceptionType(
MethodDescriptor
desc2
(
manager
,
dependencies
,
"void"
,
0
,
0
);
MethodDescriptor
desc2
(
manager
,
dependencies
,
"void"
,
0
,
0
);
code
.
reset
(
cf
->
newCode
());
code
.
reset
(
cf
->
newCode
());
code
->
loadLocalReference
(
0
);
code
->
loadLocalReference
(
0
);
sal_uInt16
index3
=
1
;
sal_uInt16
index3
=
3
;
code
->
loadLocalReference
(
index3
++
);
code
->
loadLocalReference
(
index3
++
);
// Note that we hack in the java.lang.Throwable parameter further down,
// Note that we hack in the java.lang.Throwable parameter further down,
// because MethodDescriptor does not know how to handle it.
// because MethodDescriptor does not know how to handle it.
desc2
.
addParameter
(
"string"
,
false
,
true
,
0
);
desc2
.
addParameter
(
"string"
,
false
,
true
,
0
);
if
(
!
(
baseException
||
baseRuntimeException
))
{
if
(
baseException
||
baseRuntimeException
)
{
code
->
loadLocalReference
(
2
);
code
->
loadLocalReference
(
1
);
code
->
instrInvokespecial
(
superClass
,
"<init>"
,
"(Ljava/lang/String;Ljava/lang/Throwable;)V"
);
}
else
{
code
->
loadLocalReference
(
1
);
code
->
loadLocalReference
(
2
);
addExceptionBaseArguments
(
addExceptionBaseArguments
(
manager
,
dependencies
,
&
desc2
,
code
.
get
(),
entity
->
getDirectBase
(),
manager
,
dependencies
,
&
desc2
,
code
.
get
(),
entity
->
getDirectBase
(),
&
index3
);
&
index3
);
code
->
instrInvokespecial
(
superClass
,
"<init>"
,
"(Ljava/lang/Throwable;"
+
desc2
.
getDescriptor
().
copy
(
1
));
}
}
code
->
instrInvokespecial
(
superClass
,
"<init>"
,
"(Ljava/lang/Throwable;"
+
desc2
.
getDescriptor
().
copy
(
1
));
sal_uInt16
maxSize2
=
index3
;
sal_uInt16
maxSize2
=
index3
;
if
(
baseRuntimeException
)
{
if
(
baseRuntimeException
)
{
maxSize2
=
std
::
max
(
maxSize2
=
std
::
max
(
...
...
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