Changes:
- $Id: properties.c 4936 2006-05-18 14:06:58Z twisti $
+ $Id: properties.c 5049 2006-06-23 12:07:26Z twisti $
*/
bool properties_init(void)
{
- list_properties = NEW(list);
-
- list_init(list_properties, OFFSET(list_properties_entry, linkage));
+ list_properties = list_create(OFFSET(list_properties_entry, linkage));
/* everything's ok */
p->key = key;
p->value = value;
- list_addlast(list_properties, p);
+ list_add_last_unsynced(list_properties, p);
}
java_lang_String *k;
java_lang_String *v;
- k = javastring_new_from_ascii(key);
- v = javastring_new_from_ascii(value);
+ k = javastring_new_from_utf_string(key);
+ v = javastring_new_from_utf_string(value);
(void) vm_call_method(mput, (java_objectheader *) psystem, k, v);
}