Mercurial > hg > graal-compiler
diff src/share/vm/ci/ciField.cpp @ 3785:ddd894528dbc
7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
Reviewed-by: never
author | jrose |
---|---|
date | Thu, 23 Jun 2011 17:14:06 -0700 |
parents | c7f3d0b4570f |
children | be4ca325525a e778c29768e6 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciField.cpp Wed Jun 22 14:45:37 2011 -0700 +++ b/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;