equal
deleted
inserted
replaced
1 /* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
1 /* Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * |
3 * |
4 * This code is free software; you can redistribute it and/or modify it |
4 * This code is free software; you can redistribute it and/or modify it |
5 * under the terms of the GNU General Public License version 2 only, as |
5 * under the terms of the GNU General Public License version 2 only, as |
6 * published by the Free Software Foundation. |
6 * published by the Free Software Foundation. |
684 return; |
684 return; |
685 } |
685 } |
686 switch (cp->tag_at(i).value()) { |
686 switch (cp->tag_at(i).value()) { |
687 case JVM_CONSTANT_UnresolvedClass: { |
687 case JVM_CONSTANT_UnresolvedClass: { |
688 if (tag == JVM_CONSTANT_Class) { |
688 if (tag == JVM_CONSTANT_Class) { |
689 tty->print_cr("Resolving klass %s at %d", cp->unresolved_klass_at(i)->as_utf8(), i); |
689 tty->print_cr("Resolving klass %s at %d", cp->klass_name_at(i)->as_utf8(), i); |
690 Klass* k = cp->klass_at(i, CHECK); |
690 Klass* k = cp->klass_at(i, CHECK); |
691 } |
691 } |
692 break; |
692 break; |
693 } |
693 } |
694 case JVM_CONSTANT_Long: |
694 case JVM_CONSTANT_Long: |