--- a/hotspot/src/share/vm/interpreter/bytecode.cpp Thu Jan 27 13:42:28 2011 -0800
+++ b/hotspot/src/share/vm/interpreter/bytecode.cpp Thu Jan 27 16:11:27 2011 -0800
@@ -124,21 +124,20 @@
}
-symbolOop Bytecode_member_ref::signature() const {
+Symbol* Bytecode_member_ref::signature() const {
constantPoolOop constants = method()->constants();
return constants->signature_ref_at(index());
}
-symbolOop Bytecode_member_ref::name() const {
+Symbol* Bytecode_member_ref::name() const {
constantPoolOop constants = method()->constants();
return constants->name_ref_at(index());
}
-BasicType Bytecode_member_ref::result_type(Thread *thread) const {
- symbolHandle sh(thread, signature());
- ResultTypeFinder rts(sh);
+BasicType Bytecode_member_ref::result_type() const {
+ ResultTypeFinder rts(signature());
rts.iterate();
return rts.type();
}