src/share/vm/classfile/dictionary.cpp

changeset 482
2c106685d6d0
parent 435
a61af66fc99e
child 631
d1605aabd0a1
     1.1 --- a/src/share/vm/classfile/dictionary.cpp	Fri Feb 29 20:03:58 2008 -0800
     1.2 +++ b/src/share/vm/classfile/dictionary.cpp	Wed Mar 12 18:06:50 2008 -0700
     1.3 @@ -155,8 +155,8 @@
     1.4          for (int i = ik->previous_versions()->length() - 1; i >= 0; i--) {
     1.5            // check the previous versions array for GC'ed weak refs
     1.6            PreviousVersionNode * pv_node = ik->previous_versions()->at(i);
     1.7 -          jweak cp_ref = pv_node->prev_constant_pool();
     1.8 -          assert(cp_ref != NULL, "weak cp ref was unexpectedly cleared");
     1.9 +          jobject cp_ref = pv_node->prev_constant_pool();
    1.10 +          assert(cp_ref != NULL, "cp ref was unexpectedly cleared");
    1.11            if (cp_ref == NULL) {
    1.12              delete pv_node;
    1.13              ik->previous_versions()->remove_at(i);

mercurial