hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 32595 8cde9aca5e9f
parent 29081 c61eb4914428
child 33628 09241459a8b8
child 33589 7cbd1b2c139b
--- a/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Fri Aug 28 11:10:57 2015 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiEnv.cpp	Fri Aug 28 17:32:31 2015 +0300
@@ -3482,7 +3482,7 @@
 
   for (SystemProperty* p = Arguments::system_properties(); p != NULL; p = p->next()) {
     if (strcmp(property, p->key()) == 0) {
-      if (p->set_value((char *)value_ptr)) {
+      if (p->set_value(value_ptr)) {
         err =  JVMTI_ERROR_NONE;
       }
     }