hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 36508 5f9eee6b383b
parent 36350 29d8bb1668f5
child 36616 5172e3dd60f2
--- a/hotspot/src/share/vm/c1/c1_Runtime1.cpp	Tue Mar 15 13:48:21 2016 -0700
+++ b/hotspot/src/share/vm/c1/c1_Runtime1.cpp	Thu Mar 17 19:04:01 2016 +0000
@@ -661,7 +661,7 @@
   NOT_PRODUCT(_throw_class_cast_exception_count++;)
   ResourceMark rm(thread);
   char* message = SharedRuntime::generate_class_cast_message(
-    thread, object->klass()->external_name());
+    thread, object->klass());
   SharedRuntime::throw_and_post_jvmti_exception(
     thread, vmSymbols::java_lang_ClassCastException(), message);
 JRT_END