comparison 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
comparison
equal deleted inserted replaced
6981:8c413497f434 6983:070d523b96a7
1783 if (HAS_PENDING_EXCEPTION) { 1783 if (HAS_PENDING_EXCEPTION) {
1784 ResourceMark rm(this); 1784 ResourceMark rm(this);
1785 jio_fprintf(defaultStream::error_stream(), 1785 jio_fprintf(defaultStream::error_stream(),
1786 "\nException: %s thrown from the UncaughtExceptionHandler" 1786 "\nException: %s thrown from the UncaughtExceptionHandler"
1787 " in thread \"%s\"\n", 1787 " in thread \"%s\"\n",
1788 Klass::cast(pending_exception()->klass())->external_name(), 1788 pending_exception()->klass()->external_name(),
1789 get_thread_name()); 1789 get_thread_name());
1790 CLEAR_PENDING_EXCEPTION; 1790 CLEAR_PENDING_EXCEPTION;
1791 } 1791 }
1792 } 1792 }
1793 } 1793 }