< prev index next >

src/hotspot/share/classfile/stackMapFrame.cpp

Print this page
@@ -79,11 +79,11 @@
    SignatureStream ss(m->signature());
    int init_local_num = 0;
    if (!m->is_static()) {
      init_local_num++;
      // add one extra argument for instance method
-     if (m->name() == vmSymbols::object_initializer_name() &&
+     if (m->is_object_constructor() &&
         thisKlass.name() != vmSymbols::java_lang_Object()) {
        _locals[0] = VerificationType::uninitialized_this_type();
        _flags |= FLAG_THIS_UNINIT;
      } else {
        _locals[0] = thisKlass;
< prev index next >