diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-10 19:21:46 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-10 19:21:46 +0000 |
| commit | 1755b3fda9098642aef3f808d8c9f107539b817b (patch) | |
| tree | 63bb017144567983b5a4c2149963792d88f6d90d /libjava/include | |
| parent | 3f4246de9ff615a3b697825b2cb4efb717bb6d15 (diff) | |
| download | ppe42-gcc-1755b3fda9098642aef3f808d8c9f107539b817b.tar.gz ppe42-gcc-1755b3fda9098642aef3f808d8c9f107539b817b.zip | |
PR libgcj/18868:
* include/jvm.h (_Jv_Linker::find_field): Declare.
(_Jv_Linker::find_field_helper): Likewise.
* link.cc (find_field_helper): New method.
(find_field): Likewise.
(resolve_pool_entry): Use it. Throw NoSuchFieldError when field
not found.
(link_symbol_table): Use find_field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
| -rw-r--r-- | libjava/include/jvm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index ff2c9b1ec87..52471bfac9a 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -1,6 +1,6 @@ // jvm.h - Header file for private implementation information. -*- c++ -*- -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation This file is part of libgcj. @@ -250,6 +250,9 @@ namespace gcj class _Jv_Linker { private: + static _Jv_Field *find_field_helper(jclass, _Jv_Utf8Const *, jclass *); + static _Jv_Field *find_field(jclass, jclass, _Jv_Utf8Const *, + _Jv_Utf8Const *); static void prepare_constant_time_tables(jclass); static jshort get_interfaces(jclass, _Jv_ifaces *); static void link_symbol_table(jclass); |

