diff options
author | dbuck <none@none> | 2015-04-28 00:37:33 -0700 |
---|---|---|
committer | dbuck <none@none> | 2015-04-28 00:37:33 -0700 |
commit | ff61b3a7474dc6396a607377bf7255bffdc22463 (patch) | |
tree | 34a7a18ea65fa145f3ca7258e05261d752b48c74 /src/share/vm/prims/whitebox.cpp | |
parent | 4f6c03ce45838339e182ed01b34b35c11a7caa48 (diff) | |
download | jdk8u_hotspot-ff61b3a7474dc6396a607377bf7255bffdc22463.tar.gz |
8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
Contributed-by: Cheleswer Sahu <cheleswer.sahu@oracle.com>
Diffstat (limited to 'src/share/vm/prims/whitebox.cpp')
-rw-r--r-- | src/share/vm/prims/whitebox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/prims/whitebox.cpp b/src/share/vm/prims/whitebox.cpp index 0175ae5d5..da0a753c9 100644 --- a/src/share/vm/prims/whitebox.cpp +++ b/src/share/vm/prims/whitebox.cpp @@ -913,7 +913,7 @@ int WhiteBox::offset_for_field(const char* field_name, oop object, if (res == NULL) { tty->print_cr("Invalid layout of %s at %s", ik->external_name(), name_symbol->as_C_string()); - fatal("Invalid layout of preloaded class"); + vm_exit_during_initialization("Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class"); } //fetch the field at the offset we've found |