re PR java/15133 (gcjh generates wrong method signatures)
authorRanjit Mathew <rmathew@hotmail.com>
Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)
committerRanjit Mathew <rmathew@gcc.gnu.org>
Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)
commit3fb577a58935b9b1be60200000422ead1a69f561
tree7fe8152ed2c2c8729bfed1222c9bda338b620f08
parent693446fc3343a269cf01f3bd6a6d2626951b59b5
re PR java/15133 (gcjh generates wrong method signatures)

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.

From-SVN: r81357
gcc/java/ChangeLog
gcc/java/gjavah.c