6549844: Wording problems in "An unexpected error ..."

Wed, 27 Feb 2008 13:55:58 -0500

author
coleenp
date
Wed, 27 Feb 2008 13:55:58 -0500
changeset 491
31d829b33f26
parent 490
2a8eb116ebbe
child 492
ff0979201b06

6549844: Wording problems in "An unexpected error ..."
Summary: Changed wording to "A fatal error.." also don't claim it's not VM bug if in hotspot compilers (Java thread in native).
Reviewed-by: jjh, sbohne, jrose, never

src/share/vm/utilities/vmError.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/utilities/vmError.cpp	Tue Feb 05 23:21:57 2008 -0800
     1.2 +++ b/src/share/vm/utilities/vmError.cpp	Wed Feb 27 13:55:58 2008 -0500
     1.3 @@ -170,7 +170,8 @@
     1.4    out->print_raw_cr(Arguments::java_vendor_url_bug());
     1.5    // If the crash is in native code, encourage user to submit a bug to the
     1.6    // provider of that code.
     1.7 -  if (thread && thread->is_Java_thread()) {
     1.8 +  if (thread && thread->is_Java_thread() &&
     1.9 +      !thread->is_hidden_from_external_view()) {
    1.10      JavaThread* jt = (JavaThread*)thread;
    1.11      if (jt->thread_state() == _thread_in_native) {
    1.12        out->print_cr("# The crash happened outside the Java Virtual Machine in native code.\n# See problematic frame for where to report the bug.");
    1.13 @@ -249,10 +250,10 @@
    1.14  
    1.15    BEGIN
    1.16  
    1.17 -  STEP(10, "(printing unexpected error message)")
    1.18 +  STEP(10, "(printing fatal error message)")
    1.19  
    1.20       st->print_cr("#");
    1.21 -     st->print_cr("# An unexpected error has been detected by Java Runtime Environment:");
    1.22 +     st->print_cr("# A fatal error has been detected by the Java Runtime Environment:");
    1.23  
    1.24    STEP(15, "(printing type of error)")
    1.25  

mercurial