--- a/hotspot/src/share/vm/ci/ciField.cpp Wed Jun 22 14:45:37 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciField.cpp Thu Jun 23 17:14:06 2011 -0700
@@ -287,7 +287,7 @@
}
ciType* ciField::compute_type_impl() {
- ciKlass* type = CURRENT_ENV->get_klass_by_name_impl(_holder, _signature, false);
+ ciKlass* type = CURRENT_ENV->get_klass_by_name_impl(_holder, constantPoolHandle(), _signature, false);
if (!type->is_primitive_type() && is_shared()) {
// We must not cache a pointer to an unshared type, in a shared field.
bool type_is_also_shared = false;