< prev index next >

src/hotspot/share/classfile/stackMapTable.cpp

Print this page
*** 187,11 ***
          (!_cp->tag_at(class_index).is_klass() &&
           !_cp->tag_at(class_index).is_unresolved_klass())) {
        _stream->stackmap_format_error("bad class index", THREAD);
        return VerificationType::bogus_type();
      }
!     return VerificationType::reference_type(_cp->klass_name_at(class_index));
    }
    if (tag == ITEM_UninitializedThis) {
      if (flags != nullptr) {
        *flags |= FLAG_THIS_UNINIT;
      }
--- 187,12 ---
          (!_cp->tag_at(class_index).is_klass() &&
           !_cp->tag_at(class_index).is_unresolved_klass())) {
        _stream->stackmap_format_error("bad class index", THREAD);
        return VerificationType::bogus_type();
      }
!     Symbol* klass_name = _cp->klass_name_at(class_index);
+     return VerificationType::reference_type(klass_name);
    }
    if (tag == ITEM_UninitializedThis) {
      if (flags != nullptr) {
        *flags |= FLAG_THIS_UNINIT;
      }
< prev index next >