re PR java/20215 (gcj does not accept classes with same name fields)

PR java/20215:
	* include/jvm.h (_Jv_Linker::find_field_helper): Updated.
	* link.cc (find_field_helper): Added 'type' argument.
	(find_field): Updated.

From-SVN: r96032
This commit is contained in:
Tom Tromey 2005-03-07 17:18:33 +00:00 committed by Tom Tromey
parent 7a59efae86
commit 21b2340908
3 changed files with 37 additions and 24 deletions

View file

@ -250,7 +250,8 @@ namespace gcj
class _Jv_Linker
{
private:
static _Jv_Field *find_field_helper(jclass, _Jv_Utf8Const *, jclass *);
static _Jv_Field *find_field_helper(jclass, _Jv_Utf8Const *, _Jv_Utf8Const *,
jclass *);
static _Jv_Field *find_field(jclass, jclass, _Jv_Utf8Const *,
_Jv_Utf8Const *);
static void prepare_constant_time_tables(jclass);