hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 8651 81b517a9249f
parent 8296 b1c2163e4e59
child 8726 7bafcf0e5bfb
equal deleted inserted replaced
8650:45f6a91a52de 8651:81b517a9249f
  1082     for (old_i = 1; old_i < old_cp->length(); old_i++) {
  1082     for (old_i = 1; old_i < old_cp->length(); old_i++) {
  1083       // leave debugging crumb
  1083       // leave debugging crumb
  1084       jbyte old_tag = old_cp->tag_at(old_i).value();
  1084       jbyte old_tag = old_cp->tag_at(old_i).value();
  1085       switch (old_tag) {
  1085       switch (old_tag) {
  1086       case JVM_CONSTANT_Class:
  1086       case JVM_CONSTANT_Class:
       
  1087       case JVM_CONSTANT_UnresolvedClass:
  1087         // revert the copy to JVM_CONSTANT_UnresolvedClass
  1088         // revert the copy to JVM_CONSTANT_UnresolvedClass
       
  1089         // May be resolving while calling this so do the same for
       
  1090         // JVM_CONSTANT_UnresolvedClass (klass_name_at() deals with transition)
  1088         (*merge_cp_p)->unresolved_klass_at_put(old_i,
  1091         (*merge_cp_p)->unresolved_klass_at_put(old_i,
  1089           old_cp->klass_name_at(old_i));
  1092           old_cp->klass_name_at(old_i));
  1090         break;
  1093         break;
  1091 
  1094 
  1092       case JVM_CONSTANT_Double:
  1095       case JVM_CONSTANT_Double: