jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type.
authorTom Tromey <tromey@redhat.com>
Fri, 31 Jan 2003 22:50:48 +0000 (22:50 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 31 Jan 2003 22:50:48 +0000 (22:50 +0000)
commit9bc825c4bac44e0c7eabb39727c4741b6b1a9255
treec6168c23fa33ae236c5ed8d24550103a0ed28dcf
parent0120f3d478fb1aa57fda945471357e5c5006f58d
jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type.

* jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
cast to element type.
(_Jv_JNI_SetObjectArrayElement): Check array bounds.
(_Jv_JNI_GetObjectArrayElement): Likewise.

From-SVN: r62210
libjava/ChangeLog
libjava/jni.cc