< prev index next >
src/hotspot/share/oops/constantPool.cpp
Print this page
@@ -47,11 +47,10 @@
#include "oops/objArrayKlass.hpp"
#include "oops/objArrayOop.inline.hpp"
#include "oops/oop.inline.hpp"
#include "oops/typeArrayOop.inline.hpp"
#include "runtime/atomic.hpp"
-#include "runtime/fieldType.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/init.hpp"
#include "runtime/javaCalls.hpp"
#include "runtime/signature.hpp"
#include "runtime/thread.inline.hpp"
@@ -726,11 +725,11 @@
char* ConstantPool::string_at_noresolve(int which) {
return unresolved_string_at(which)->as_C_string();
}
BasicType ConstantPool::basic_type_for_signature_at(int which) const {
- return FieldType::basic_type(symbol_at(which));
+ return Signature::basic_type(symbol_at(which));
}
void ConstantPool::resolve_string_constants_impl(const constantPoolHandle& this_cp, TRAPS) {
for (int index = 1; index < this_cp->length(); index++) { // Index 0 is unused
@@ -838,11 +837,11 @@
constantTag tag = tag_at(which);
if (tag.is_dynamic_constant() ||
tag.is_dynamic_constant_in_error()) {
// have to look at the signature for this one
Symbol* constant_type = uncached_signature_ref_at(which);
- return FieldType::basic_type(constant_type);
+ return Signature::basic_type(constant_type);
}
return tag.basic_type();
}
// Called to resolve constants in the constant pool and return an oop.
@@ -948,11 +947,11 @@
// Resolution failure of the dynamically-computed constant, save_and_throw_exception
// will check for a LinkageError and store a DynamicConstantInError.
save_and_throw_exception(this_cp, index, tag, CHECK_NULL);
}
result_oop = bootstrap_specifier.resolved_value()();
- BasicType type = FieldType::basic_type(bootstrap_specifier.signature());
+ BasicType type = Signature::basic_type(bootstrap_specifier.signature());
if (!is_reference_type(type)) {
// Make sure the primitive value is properly boxed.
// This is a JDK responsibility.
const char* fail = NULL;
if (result_oop == NULL) {
< prev index next >