comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 2460:ed69575596ac

6981791: remove experimental code for JSR 292 Reviewed-by: twisti
author jrose
date Thu, 07 Apr 2011 17:02:30 -0700
parents c7f3d0b4570f
children fecdb0a65fb2 7db2b9499c36
comparison
equal deleted inserted replaced
2459:55973726c600 2460: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