hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 9116 9bc44be338d6
parent 8725 8c1e3dd5fe1b
child 9960 43fe83652b18
equal deleted inserted replaced
9115:5a28312aa393 9116:9bc44be338d6
   367   if (ProfileTraps) {
   367   if (ProfileTraps) {
   368     note_trap(thread, Deoptimization::Reason_constraint, CHECK);
   368     note_trap(thread, Deoptimization::Reason_constraint, CHECK);
   369   }
   369   }
   370 
   370 
   371   // create exception
   371   // create exception
   372   Symbol* java_lang_invoke_WrongMethodTypeException = vmSymbols::java_lang_invoke_WrongMethodTypeException();
   372   THROW_MSG(vmSymbols::java_lang_invoke_WrongMethodTypeException(), message);
   373   if (AllowTransitionalJSR292)
       
   374     java_lang_invoke_WrongMethodTypeException = SystemDictionaryHandles::WrongMethodTypeException_klass()->name();
       
   375   THROW_MSG(java_lang_invoke_WrongMethodTypeException, message);
       
   376 }
   373 }
   377 IRT_END
   374 IRT_END
   378 
   375 
   379 
   376 
   380 
   377