aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/jvm.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-01-10 19:21:46 +0000
committerTom Tromey <tromey@redhat.com>2005-01-10 19:21:46 +0000
commitc82e4fca2215354594cb4587c4e2f55729a2b1b1 (patch)
tree63bb017144567983b5a4c2149963792d88f6d90d /libjava/include/jvm.h
parent9fe487edc9bab84ee70973afc071c75434293233 (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@93151 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include/jvm.h')
-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 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);