mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8174823: Module system implementation refresh (3/2017)
Reviewed-by: sspitsyn, dholmes, lfoltan, mchung
This commit is contained in:
parent
a085f48913
commit
73165d34e4
8 changed files with 49 additions and 25 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -621,6 +621,13 @@ void vm_notify_during_shutdown(const char* error, const char* message) {
|
|||
}
|
||||
}
|
||||
|
||||
void vm_exit_during_initialization() {
|
||||
vm_notify_during_shutdown(NULL, NULL);
|
||||
|
||||
// Failure during initialization, we don't want to dump core
|
||||
vm_abort(false);
|
||||
}
|
||||
|
||||
void vm_exit_during_initialization(Handle exception) {
|
||||
tty->print_cr("Error occurred during initialization of VM");
|
||||
// If there are exceptions on this thread it must be cleared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue