hotspot/src/share/vm/prims/jvm.cpp
changeset 18063 3a0a5b11ab14
parent 18056 0e99ee964114
parent 17370 59a0620561fa
child 18065 7d53ab28f937
--- a/hotspot/src/share/vm/prims/jvm.cpp	Thu May 16 11:44:33 2013 +0100
+++ b/hotspot/src/share/vm/prims/jvm.cpp	Thu May 23 12:44:18 2013 +0100
@@ -1779,7 +1779,7 @@
     for (int i = 0; i < num_params; i++) {
       MethodParametersElement* params = mh->method_parameters_start();
       // For a 0 index, give a NULL symbol
-      Symbol* const sym = 0 != params[i].name_cp_index ?
+      Symbol* sym = 0 != params[i].name_cp_index ?
         mh->constants()->symbol_at(params[i].name_cp_index) : NULL;
       int flags = params[i].flags;
       oop param = Reflection::new_parameter(reflected_method, i, sym,