# HG changeset patch # User mr # Date 1572382324 25200 # Node ID f4290bf1cc211b8a13120c42fb2db753cdc149ba # Parent 67a3f50b14ae7777f3807081ac905bfd9b5d599d 8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080 Reviewed-by: stuefe, iignatyev, mchung diff -r 67a3f50b14ae -r f4290bf1cc21 src/hotspot/share/utilities/vmError.cpp --- a/src/hotspot/share/utilities/vmError.cpp Tue Oct 29 12:52:03 2019 -0700 +++ b/src/hotspot/share/utilities/vmError.cpp Tue Oct 29 13:52:04 2019 -0700 @@ -128,12 +128,14 @@ static void print_bug_submit_message(outputStream *out, Thread *thread) { if (out == NULL) return; - out->print_raw_cr("# If you would like to submit a bug report, please visit:"); - out->print_raw ("# "); const char *url = Arguments::java_vendor_url_bug(); if (url == NULL || *url == '\0') url = JDK_Version::runtime_vendor_vm_bug_url(); - out->print_raw_cr(url); + if (url != NULL && *url != '\0') { + out->print_raw_cr("# If you would like to submit a bug report, please visit:"); + out->print_raw ("# "); + out->print_raw_cr(url); + } // If the crash is in native code, encourage user to submit a bug to the // provider of that code. if (thread && thread->is_Java_thread() &&