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 |