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
252d7884
Commit
252d7884
authored
Sep 28, 2004
by
Tom Tromey
Committed by
Tom Tromey
Sep 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
From-SVN: r88255
parent
ea77e738
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
libjava/ChangeLog
+2
-0
libjava/jni.cc
+2
-3
No files found.
libjava/ChangeLog
View file @
252d7884
2004
-
09
-
28
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
jni
.
cc
(
_Jv_JNI_RegisterNatives
):
Formatting
fixlets
.
PR
libgcj
/
17222
:
*
Makefile
.
am
(
libgcj
.
la
):
Restored
.
*
Makefile
.
in
:
Rebuilt
.
...
...
libjava/jni.cc
View file @
252d7884
...
...
@@ -1883,8 +1883,7 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass klass,
if
(
!
strcmp
(
self
->
name
->
chars
(),
methods
[
j
].
name
)
&&
!
strcmp
(
self
->
signature
->
chars
(),
methods
[
j
].
signature
))
{
if
(
!
(
self
->
accflags
&
java
::
lang
::
reflect
::
Modifier
::
NATIVE
))
if
(
!
(
self
->
accflags
&
java
::
lang
::
reflect
::
Modifier
::
NATIVE
))
break
;
// Found a match that is native.
...
...
@@ -1900,7 +1899,7 @@ _Jv_JNI_RegisterNatives (JNIEnv *env, jclass klass,
jstring
m
=
JvNewStringUTF
(
methods
[
j
].
name
);
try
{
env
->
ex
=
new
java
::
lang
::
NoSuchMethodError
(
m
);
env
->
ex
=
new
java
::
lang
::
NoSuchMethodError
(
m
);
}
catch
(
jthrowable
t
)
{
...
...
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