natClass.cc (getMethod): Compute offset relative to `klass's methods table, not ...
authorTom Tromey <tromey@cygnus.com>
Thu, 6 Jan 2000 00:56:21 +0000 (00:56 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 6 Jan 2000 00:56:21 +0000 (00:56 +0000)
commit41ecf9300ee81314e123465f55879b1f08d45a42
tree1965e52244bebcbaf8849bb44cebccffca987422
parentfe5a58103115ff22b1707fb1f561eabe8dcc3f39
natClass.cc (getMethod): Compute offset relative to `klass's methods table, not `this's table.

* java/lang/natClass.cc (getMethod): Compute offset relative to
`klass's methods table, not `this's table.

* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA):
In unwrapping/widening case, check whether `k' is null, not
whether it is primitive.  Initialize `num' from `argelts', not
`paramelts'.  Correct create and pass arguments to ffi_call.
Don't let presence of `this' argument affect index used to look in
argument arrays.
(COPY): Set appropriate element in `values' vector.

From-SVN: r31253
libjava/ChangeLog
libjava/java/lang/natClass.cc
libjava/java/lang/reflect/natMethod.cc