src/share/vm/classfile/verifier.cpp

changeset 2015
083fde3b838e
parent 1957
136b78722a08
child 2033
7f0fdccac34f
equal deleted inserted replaced
2004:a528509c992b 2015:083fde3b838e
1911 u2 index = bcs->get_index_u2(); 1911 u2 index = bcs->get_index_u2();
1912 Bytecodes::Code opcode = bcs->raw_code(); 1912 Bytecodes::Code opcode = bcs->raw_code();
1913 unsigned int types = (opcode == Bytecodes::_invokeinterface 1913 unsigned int types = (opcode == Bytecodes::_invokeinterface
1914 ? 1 << JVM_CONSTANT_InterfaceMethodref 1914 ? 1 << JVM_CONSTANT_InterfaceMethodref
1915 : opcode == Bytecodes::_invokedynamic 1915 : opcode == Bytecodes::_invokedynamic
1916 ? 1 << JVM_CONSTANT_NameAndType 1916 ? (1 << JVM_CONSTANT_NameAndType
1917 |1 << JVM_CONSTANT_InvokeDynamic)
1917 : 1 << JVM_CONSTANT_Methodref); 1918 : 1 << JVM_CONSTANT_Methodref);
1918 verify_cp_type(index, cp, types, CHECK_VERIFY(this)); 1919 verify_cp_type(index, cp, types, CHECK_VERIFY(this));
1919 1920
1920 // Get method name and signature 1921 // Get method name and signature
1921 symbolHandle method_name(THREAD, cp->name_ref_at(index)); 1922 symbolHandle method_name(THREAD, cp->name_ref_at(index));

mercurial