Fixes PR java/15133
commit1d90d99505f8443c807bbc24e44dffacdb6c7ce5
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Apr 2004 18:14:07 +0000 (30 18:14 +0000)
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Apr 2004 18:14:07 +0000 (30 18:14 +0000)
tree7fe8152ed2c2c8729bfed1222c9bda338b620f08
parent9ca797fe0ed339c857d1b607f05a51301e287fa6
Fixes PR java/15133
* gjavah.c (struct method_name): Add member is_native.
(overloaded_jni_method_exists_p): Match candidate method only if
it is native.
(print_method_info): Initialise is_native flag from the method's
access flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81357 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/gjavah.c