comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java @ 23703:9ac04c6047c8

sync with jdk9 changes for JDK-8159613
author Doug Simon <doug.simon@oracle.com>
date Tue, 21 Jun 2016 09:48:02 +0200
parents 9e1235406b59
children 2e17c65dddd7
comparison
equal deleted inserted replaced
23702:abebb99b6b50 23703:9ac04c6047c8
629 * Returns the name of this field as a {@link String}. If the field is an internal field the 629 * Returns the name of this field as a {@link String}. If the field is an internal field the
630 * name index is pointing into the vmSymbols table. 630 * name index is pointing into the vmSymbols table.
631 */ 631 */
632 public String getName() { 632 public String getName() {
633 final int nameIndex = getNameIndex(); 633 final int nameIndex = getNameIndex();
634 return isInternal() ? HotSpotVmSymbols.symbolAt(nameIndex) : getConstantPool().lookupUtf8(nameIndex); 634 return isInternal() ? config().symbolAt(nameIndex) : getConstantPool().lookupUtf8(nameIndex);
635 } 635 }
636 636
637 /** 637 /**
638 * Returns the signature of this field as {@link String}. If the field is an internal field 638 * Returns the signature of this field as {@link String}. If the field is an internal field
639 * the signature index is pointing into the vmSymbols table. 639 * the signature index is pointing into the vmSymbols table.
640 */ 640 */
641 public String getSignature() { 641 public String getSignature() {
642 final int signatureIndex = getSignatureIndex(); 642 final int signatureIndex = getSignatureIndex();
643 return isInternal() ? HotSpotVmSymbols.symbolAt(signatureIndex) : getConstantPool().lookupUtf8(signatureIndex); 643 return isInternal() ? config().symbolAt(signatureIndex) : getConstantPool().lookupUtf8(signatureIndex);
644 } 644 }
645 645
646 public JavaType getType() { 646 public JavaType getType() {
647 String signature = getSignature(); 647 String signature = getSignature();
648 return runtime().lookupType(signature, HotSpotResolvedObjectTypeImpl.this, false); 648 return runtime().lookupType(signature, HotSpotResolvedObjectTypeImpl.this, false);