diff src/share/vm/runtime/thread.cpp @ 6983:070d523b96a7

8001471: Klass::cast() does nothing Summary: Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
author hseigel
date Mon, 12 Nov 2012 16:15:05 -0500
parents c284cf4781f0
children 80e866b1d053
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Nov 09 22:22:53 2012 -0800
+++ b/src/share/vm/runtime/thread.cpp	Mon Nov 12 16:15:05 2012 -0500
@@ -1785,7 +1785,7 @@
           jio_fprintf(defaultStream::error_stream(),
                 "\nException: %s thrown from the UncaughtExceptionHandler"
                 " in thread \"%s\"\n",
-                Klass::cast(pending_exception()->klass())->external_name(),
+                pending_exception()->klass()->external_name(),
                 get_thread_name());
           CLEAR_PENDING_EXCEPTION;
         }