hotspot/src/share/vm/interpreter/interpreterRuntime.cpp
changeset 9116 9bc44be338d6
parent 8725 8c1e3dd5fe1b
child 9960 43fe83652b18
--- a/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Wed Apr 06 17:32:09 2011 -0700
+++ b/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp	Thu Apr 07 17:02:30 2011 -0700
@@ -369,10 +369,7 @@
   }
 
   // create exception
-  Symbol* java_lang_invoke_WrongMethodTypeException = vmSymbols::java_lang_invoke_WrongMethodTypeException();
-  if (AllowTransitionalJSR292)
-    java_lang_invoke_WrongMethodTypeException = SystemDictionaryHandles::WrongMethodTypeException_klass()->name();
-  THROW_MSG(java_lang_invoke_WrongMethodTypeException, message);
+  THROW_MSG(vmSymbols::java_lang_invoke_WrongMethodTypeException(), message);
 }
 IRT_END