equal
deleted
inserted
replaced
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; |