--- a/hotspot/src/share/vm/ci/ciEnv.cpp Fri Oct 30 10:12:52 2009 -0700
+++ b/hotspot/src/share/vm/ci/ciEnv.cpp Fri Oct 30 16:22:59 2009 -0700
@@ -690,10 +690,8 @@
ciInstanceKlass* declared_holder = get_instance_klass_for_declared_method_holder(holder);
// Get the method's name and signature.
- int nt_index = cpool->name_and_type_ref_index_at(index);
- int sig_index = cpool->signature_ref_index_at(nt_index);
symbolOop name_sym = cpool->name_ref_at(index);
- symbolOop sig_sym = cpool->symbol_at(sig_index);
+ symbolOop sig_sym = cpool->signature_ref_at(index);
if (holder_is_accessible) { // Our declared holder is loaded.
instanceKlass* lookup = declared_holder->get_instanceKlass();