8233137: runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080

Reviewed-by: stuefe, iignatyev, mchung
This commit is contained in:
Mark Reinhold 2019-10-29 13:52:04 -07:00
parent 5b0fbb2560
commit f9f141b6ab

View File

@ -128,12 +128,14 @@ static char* next_OnError_command(char* buf, int buflen, const char** ptr) {
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() &&