equal
deleted
inserted
replaced
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 |