Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cdd59e7b
Commit
cdd59e7b
authored
Feb 15, 2000
by
Tom Tromey
Committed by
Tom Tromey
Feb 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jni.cc (mangled_name): Skip leading `(' in signature.
From-SVN: r31993
parent
a003f638
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
libjava/ChangeLog
+2
-0
libjava/jni.cc
+2
-1
No files found.
libjava/ChangeLog
View file @
cdd59e7b
2000-02-15 Tom Tromey <tromey@cygnus.com>
2000-02-15 Tom Tromey <tromey@cygnus.com>
* jni.cc (mangled_name): Skip leading `(' in signature.
* jni.cc (add_char): Added missing `else'.
* jni.cc (add_char): Added missing `else'.
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
* jni.cc (_Jv_JNI_AttachCurrentThread): Return error if malloc
...
...
libjava/jni.cc
View file @
cdd59e7b
...
@@ -1308,7 +1308,8 @@ mangled_name (jclass klass, _Jv_Utf8Const *func_name,
...
@@ -1308,7 +1308,8 @@ mangled_name (jclass klass, _Jv_Utf8Const *func_name,
const
unsigned
char
*
sig
=
(
const
unsigned
char
*
)
signature
->
data
;
const
unsigned
char
*
sig
=
(
const
unsigned
char
*
)
signature
->
data
;
limit
=
sig
+
signature
->
length
;
limit
=
sig
+
signature
->
length
;
JvAssert
(
signature
[
0
]
==
'('
);
JvAssert
(
signature
[
0
]
==
'('
);
for
(
int
i
=
1
;
;
++
i
)
++
sig
;
while
(
1
)
{
{
int
ch
=
UTF8_GET
(
sig
,
limit
);
int
ch
=
UTF8_GET
(
sig
,
limit
);
if
(
ch
==
')'
||
ch
<
0
)
if
(
ch
==
')'
||
ch
<
0
)
...
...
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