hotspot/src/share/vm/classfile/verifier.cpp
changeset 7114 65d21c4c6337
parent 6173 c0c872cc6064
child 7382 e1ed8c9e12e5
equal deleted inserted replaced
7113:f05a0ba2802f 7114:65d21c4c6337
  1907   u2 index = bcs->get_index_u2();
  1907   u2 index = bcs->get_index_u2();
  1908   Bytecodes::Code opcode = bcs->raw_code();
  1908   Bytecodes::Code opcode = bcs->raw_code();
  1909   unsigned int types = (opcode == Bytecodes::_invokeinterface
  1909   unsigned int types = (opcode == Bytecodes::_invokeinterface
  1910                                 ? 1 << JVM_CONSTANT_InterfaceMethodref
  1910                                 ? 1 << JVM_CONSTANT_InterfaceMethodref
  1911                       : opcode == Bytecodes::_invokedynamic
  1911                       : opcode == Bytecodes::_invokedynamic
  1912                                 ? (1 << JVM_CONSTANT_NameAndType
  1912                                 ? ((AllowTransitionalJSR292 ? 1 << JVM_CONSTANT_NameAndType : 0)
  1913                                   |1 << JVM_CONSTANT_InvokeDynamic)
  1913                                   |1 << JVM_CONSTANT_InvokeDynamic)
  1914                                 : 1 << JVM_CONSTANT_Methodref);
  1914                                 : 1 << JVM_CONSTANT_Methodref);
  1915   verify_cp_type(index, cp, types, CHECK_VERIFY(this));
  1915   verify_cp_type(index, cp, types, CHECK_VERIFY(this));
  1916 
  1916 
  1917   // Get method name and signature
  1917   // Get method name and signature