hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 32595 8cde9aca5e9f
parent 29081 c61eb4914428
child 33628 09241459a8b8
child 33589 7cbd1b2c139b
equal deleted inserted replaced
32594:dea9c26a05f3 32595:8cde9aca5e9f
  3480 JvmtiEnv::SetSystemProperty(const char* property, const char* value_ptr) {
  3480 JvmtiEnv::SetSystemProperty(const char* property, const char* value_ptr) {
  3481   jvmtiError err =JVMTI_ERROR_NOT_AVAILABLE;
  3481   jvmtiError err =JVMTI_ERROR_NOT_AVAILABLE;
  3482 
  3482 
  3483   for (SystemProperty* p = Arguments::system_properties(); p != NULL; p = p->next()) {
  3483   for (SystemProperty* p = Arguments::system_properties(); p != NULL; p = p->next()) {
  3484     if (strcmp(property, p->key()) == 0) {
  3484     if (strcmp(property, p->key()) == 0) {
  3485       if (p->set_value((char *)value_ptr)) {
  3485       if (p->set_value(value_ptr)) {
  3486         err =  JVMTI_ERROR_NONE;
  3486         err =  JVMTI_ERROR_NONE;
  3487       }
  3487       }
  3488     }
  3488     }
  3489   }
  3489   }
  3490   return err;
  3490   return err;