pike.git / src / modules / Java / jvm.c

version» Context lines:

pike.git/src/modules/Java/jvm.c:1220:   static void f_field_set(INT32 args)   {    struct field_storage *f=THIS_FIELD;    JNIEnv *env;    struct jobj_storage *co = THAT_JOBJ(f->class);    struct jobj_storage *jo;    jvalue v;    char dorelease;       if(args!=2) -  SIMPLE_WRONG_NUM_ARGS("set", 2); +  SIMPLE_WRONG_NUM_ARGS_ERROR("set", 2);       if(TYPEOF(Pike_sp[-args]) != PIKE_T_OBJECT ||    (jo = get_storage(Pike_sp[-args].u.object,    jobj_program))==NULL)    SIMPLE_ARG_TYPE_ERROR("set", 1, "Java object");       if((env = jvm_procure_env(co->jvm))==NULL) {    pop_n_elems(args);    push_int(0);    return;