call correct java method

This commit is contained in:
minggo 2012-01-04 10:14:46 +08:00
parent 8648d171bb
commit c6da8d2fbd
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ extern "C"
, "terminateProcess"
, "()V"))
{
t.env->CallStaticObjectMethod(t.classID, t.methodID);
t.env->CallStaticVoidMethod(t.classID, t.methodID);
t.env->DeleteLocalRef(t.classID);
}
}