fieldDescriptor.cpp revision 3842
1222N/A * or visit www.oracle.com if you need additional information or have any
1222N/A#include "precompiled.hpp"
1222N/A#include "classfile/systemDictionary.hpp"
1222N/A#include "classfile/vmSymbols.hpp"
1222N/A#include "memory/resourceArea.hpp"
1222N/A#include "memory/universe.inline.hpp"
1222N/A#include "oops/instanceKlass.hpp"
1222N/A#include "oops/fieldStreams.hpp"
1222N/A#include "runtime/fieldDescriptor.hpp"
1222N/A#include "runtime/handles.inline.hpp"
1222N/A#include "runtime/signature.hpp"
1222N/A if (!has_generic_signature()) {
int idx = 0;
idx ++;
return NULL;
return NULL;
guarantee(f->name_index() != 0 && f->signature_index() != 0, "bad constant pool index for fieldDescriptor");
#ifndef PRODUCT
if (t.is_int()) {
} else if (t.is_long()){
} else if (t.is_float()){
} else if (t.is_double()){
switch (ft) {
case T_BYTE:
case T_CHAR:
as_int = c;
case T_DOUBLE:
case T_FLOAT:
case T_INT:
case T_LONG:
case T_SHORT:
case T_BOOLEAN:
case T_ARRAY:
case T_OBJECT: