src/share/vm/oops/constantPool.cpp

changeset 9970
f614bd5c9561
parent 9966
baf9f57c9b46
child 10013
7ab1cd9c7843
     1.1 --- a/src/share/vm/oops/constantPool.cpp	Thu Aug 25 09:23:45 2016 -0400
     1.2 +++ b/src/share/vm/oops/constantPool.cpp	Wed Jul 09 22:37:48 2014 -0400
     1.3 @@ -571,13 +571,9 @@
     1.4  
     1.5  Symbol* ConstantPool::exception_message(constantPoolHandle this_oop, int which, constantTag tag, oop pending_exception) {
     1.6    // Dig out the detailed message to reuse if possible
     1.7 -  Symbol* message = NULL;
     1.8 -  oop detailed_message = java_lang_Throwable::message(pending_exception);
     1.9 -  if (detailed_message != NULL) {
    1.10 -     message = java_lang_String::as_symbol_or_null(detailed_message);
    1.11 -     if (message != NULL) {
    1.12 -       return message;
    1.13 -     }
    1.14 +  Symbol* message = java_lang_Throwable::detail_message(pending_exception);
    1.15 +  if (message != NULL) {
    1.16 +    return message;
    1.17    }
    1.18  
    1.19    // Return specific message for the tag

mercurial