aboutsummaryrefslogtreecommitdiff
path: root/libjava/link.cc
diff options
context:
space:
mode:
authorAndrew Haley <aph@gcc.gnu.org>2009-03-12 16:13:19 +0000
committerAndrew Haley <aph@gcc.gnu.org>2009-03-12 16:13:19 +0000
commit2e95a6c3583cd414ac3fe60fa42f779a07acd3c7 (patch)
tree85e76fa462fd32f7f907ccc1061b8ba0e8be06d9 /libjava/link.cc
parentbbb52802a1e636e8eecece65c600ef1bc4dcf6aa (diff)
[multiple changes]
2009-03-11 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Clear INTERPRETED access modifier. 2009-03-11 Tom Tromey <tromey@redhat.com> * link.cc (_Jv_Linker::find_field): Pass the field_type to _Jv_CheckOrCreateLoadingConstraint, not the class that is requesting the field. From-SVN: r144818
Diffstat (limited to 'libjava/link.cc')
-rw-r--r--libjava/link.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/link.cc b/libjava/link.cc
index c07b6e15c1c..25114085bfc 100644
--- a/libjava/link.cc
+++ b/libjava/link.cc
@@ -248,7 +248,7 @@ _Jv_Linker::find_field (jclass klass, jclass owner,
// Note that the field returned by find_field_helper is always
// resolved. However, we still use the constraint mechanism
// because this may affect other lookups.
- _Jv_CheckOrCreateLoadingConstraint (klass, (*found_class)->loader);
+ _Jv_CheckOrCreateLoadingConstraint (field_type, (*found_class)->loader);
}
else
{