< prev index next >

src/hotspot/share/ci/ciField.cpp

Print this page
@@ -398,11 +398,11 @@
  
    LinkInfo link_info(_holder->get_instanceKlass(),
                       _name->get_symbol(), _signature->get_symbol(),
                       methodHandle(THREAD, accessing_method->get_Method()));
    fieldDescriptor result;
-   LinkResolver::resolve_field(result, link_info, bc, false, CHECK_AND_CLEAR_(false));
+   LinkResolver::resolve_field(result, link_info, bc, StaticMode::dont_initialize_klass, CHECK_AND_CLEAR_(false));
  
    // update the hit-cache, unless there is a problem with memory scoping:
    if (accessing_method->holder()->is_shared() || !is_shared()) {
      if (is_put) {
        _known_to_link_with_put = accessing_method;
< prev index next >