hotspot/src/share/vm/prims/jvm.cpp
changeset 17370 59a0620561fa
parent 16621 64885b7f036e
child 17826 9ad5cd464a75
child 18063 3a0a5b11ab14
equal deleted inserted replaced
17367:64c84d620e5c 17370:59a0620561fa
  1708     objArrayHandle result (THREAD, result_oop);
  1708     objArrayHandle result (THREAD, result_oop);
  1709 
  1709 
  1710     for (int i = 0; i < num_params; i++) {
  1710     for (int i = 0; i < num_params; i++) {
  1711       MethodParametersElement* params = mh->method_parameters_start();
  1711       MethodParametersElement* params = mh->method_parameters_start();
  1712       // For a 0 index, give a NULL symbol
  1712       // For a 0 index, give a NULL symbol
  1713       Symbol* const sym = 0 != params[i].name_cp_index ?
  1713       Symbol* sym = 0 != params[i].name_cp_index ?
  1714         mh->constants()->symbol_at(params[i].name_cp_index) : NULL;
  1714         mh->constants()->symbol_at(params[i].name_cp_index) : NULL;
  1715       int flags = params[i].flags;
  1715       int flags = params[i].flags;
  1716       oop param = Reflection::new_parameter(reflected_method, i, sym,
  1716       oop param = Reflection::new_parameter(reflected_method, i, sym,
  1717                                             flags, CHECK_NULL);
  1717                                             flags, CHECK_NULL);
  1718       result->obj_at_put(i, param);
  1718       result->obj_at_put(i, param);