src/share/vm/interpreter/interpreterRuntime.cpp

changeset 2742
ed69575596ac
parent 2658
c7f3d0b4570f
child 2934
7db2b9499c36
equal deleted inserted replaced
2741:55973726c600 2742:ed69575596ac
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

mercurial