Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/whitebox.cpp @ 22984:c97ba20ad404
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>
author | dbuck |
---|---|
date | Tue, 28 Apr 2015 00:37:33 -0700 |
parents | 33e421924c67 |
children | e9a7f132cec3 |
comparison
equal
deleted
inserted
replaced
22983:1ec24746bb40 | 22984:c97ba20ad404 |
---|---|
911 | 911 |
912 Klass* res = ik->find_field(name_symbol, signature_symbol, &fd); | 912 Klass* res = ik->find_field(name_symbol, signature_symbol, &fd); |
913 if (res == NULL) { | 913 if (res == NULL) { |
914 tty->print_cr("Invalid layout of %s at %s", ik->external_name(), | 914 tty->print_cr("Invalid layout of %s at %s", ik->external_name(), |
915 name_symbol->as_C_string()); | 915 name_symbol->as_C_string()); |
916 fatal("Invalid layout of preloaded class"); | 916 vm_exit_during_initialization("Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class"); |
917 } | 917 } |
918 | 918 |
919 //fetch the field at the offset we've found | 919 //fetch the field at the offset we've found |
920 int dest_offset = fd.offset(); | 920 int dest_offset = fd.offset(); |
921 | 921 |