/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "classfile/systemDictionary.hpp"
#include "classfile/vmSymbols.hpp"
#include "memory/resourceArea.hpp"
#include "memory/universe.inline.hpp"
#include "oops/instanceKlass.hpp"
#include "oops/fieldStreams.hpp"
#include "runtime/fieldDescriptor.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/signature.hpp"
}
if (!has_generic_signature()) {
return NULL;
}
int idx = 0;
return fs.generic_signature();
} else {
idx ++;
}
}
assert(false, "should never happen");
return NULL;
}
return NULL;
}
}
}
}
}
}
}
guarantee(f->name_index() != 0 && f->signature_index() != 0, "bad constant pool index for fieldDescriptor");
}
#ifndef PRODUCT
if (WizardMode && has_initial_value()) {
constantTag t = initial_value_tag();
if (t.is_int()) {
} else if (t.is_long()){
} else if (t.is_float()){
} else if (t.is_double()){
}
}
}
switch (ft) {
case T_BYTE:
break;
case T_CHAR:
{
as_int = c;
}
break;
case T_DOUBLE:
break;
case T_FLOAT:
break;
case T_INT:
break;
case T_LONG:
break;
case T_SHORT:
break;
case T_BOOLEAN:
break;
case T_ARRAY:
break;
case T_OBJECT:
break;
default:
break;
}
// Print a hint as to the underlying integer representation. This can be wrong for
// pointers on an LP64 machine
}
}
#endif /* PRODUCT */