src/share/vm/opto/graphKit.cpp

changeset 2307
f264f4c42799
parent 2141
f9883ee8ce39
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/opto/graphKit.cpp	Tue Nov 16 15:57:16 2010 -0800
     1.2 +++ b/src/share/vm/opto/graphKit.cpp	Thu Nov 18 09:52:48 2010 -0800
     1.3 @@ -569,7 +569,8 @@
     1.4        const TypePtr* adr_typ = ex_con->add_offset(offset);
     1.5  
     1.6        Node *adr = basic_plus_adr(ex_node, ex_node, offset);
     1.7 -      Node *store = store_oop_to_object(control(), ex_node, adr, adr_typ, null(), ex_con, T_OBJECT);
     1.8 +      const TypeOopPtr* val_type = TypeOopPtr::make_from_klass(env()->String_klass());
     1.9 +      Node *store = store_oop_to_object(control(), ex_node, adr, adr_typ, null(), val_type, T_OBJECT);
    1.10  
    1.11        add_exception_state(make_exception_state(ex_node));
    1.12        return;

mercurial