equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
1405 |
1405 |
1406 Klass* res = ik->find_field(name_symbol, signature_symbol, &fd); |
1406 Klass* res = ik->find_field(name_symbol, signature_symbol, &fd); |
1407 if (res == NULL) { |
1407 if (res == NULL) { |
1408 tty->print_cr("Invalid layout of %s at %s", ik->external_name(), |
1408 tty->print_cr("Invalid layout of %s at %s", ik->external_name(), |
1409 name_symbol->as_C_string()); |
1409 name_symbol->as_C_string()); |
1410 vm_exit_during_initialization("Invalid layout of preloaded class: use -XX:+TraceClassLoading to see the origin of the problem class"); |
1410 vm_exit_during_initialization("Invalid layout of preloaded class: use -Xlog:classload=info to see the origin of the problem class"); |
1411 } |
1411 } |
1412 |
1412 |
1413 //fetch the field at the offset we've found |
1413 //fetch the field at the offset we've found |
1414 int dest_offset = fd.offset(); |
1414 int dest_offset = fd.offset(); |
1415 |
1415 |