hotspot/src/share/vm/oops/cpCacheOop.cpp
changeset 8725 8c1e3dd5fe1b
parent 8334 9c373a57eb31
child 9116 9bc44be338d6
--- a/hotspot/src/share/vm/oops/cpCacheOop.cpp	Fri Mar 18 15:52:42 2011 -0700
+++ b/hotspot/src/share/vm/oops/cpCacheOop.cpp	Fri Mar 18 16:00:34 2011 -0700
@@ -133,7 +133,7 @@
                                        TosState field_type,
                                        bool is_final,
                                        bool is_volatile) {
-  set_f1(field_holder());
+  set_f1(field_holder()->java_mirror());
   set_f2(field_offset);
   // The field index is used by jvm/ti and is the index into fields() array
   // in holder instanceKlass.  This is scaled by instanceKlass::next_offset.