aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-01-10 19:21:46 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-01-10 19:21:46 +0000
commit0006c7b00d82d3e08e7ea2080ebc586d15c5ef95 (patch)
tree63bb017144567983b5a4c2149963792d88f6d90d /libjava/include
parent8a7f33c709536358ef22e939da5c9a7d18a938ee (diff)
downloadgcc-0006c7b00d82d3e08e7ea2080ebc586d15c5ef95.zip
gcc-0006c7b00d82d3e08e7ea2080ebc586d15c5ef95.tar.gz
gcc-0006c7b00d82d3e08e7ea2080ebc586d15c5ef95.tar.bz2
re PR libgcj/18868 (Interface containing anonymous class breaks gij)
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. From-SVN: r93151
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jvm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h
index ff2c9b1e..52471bf 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);