Fix garbage in warning strings, and IllegalArgumentException on

assignments which require data type conversions.
This commit is contained in:
Sam Ruby 2000-06-30 04:48:46 +00:00
parent 3def9079fd
commit 2d8b72535f
4 changed files with 10 additions and 6 deletions

View file

@ -578,7 +578,7 @@ JNIEXPORT jlong JNICALL Java_net_php_reflect_nextElement
}
JNIEXPORT void JNICALL Java_net_php_reflect_setException
(JNIEnv *jenv, jclass self, jlong result, jstring value)
(JNIEnv *jenv, jclass self, jlong result, jbyteArray value)
{
pval *presult = (pval*)(long)result;
Java_net_php_reflect_setResultFromString(jenv, self, result, value);