OSDN Git Service

Correct the reported index.
authorDan Bornstein <danfuzz@android.com>
Wed, 16 Mar 2011 18:23:57 +0000 (11:23 -0700)
committerDan Bornstein <danfuzz@android.com>
Wed, 16 Mar 2011 18:23:57 +0000 (11:23 -0700)
commit044879d39f7fee2b2b62259ae04abfa331504b03
treee7f5cfe5e6214f8827da3948e1c0266be618904b
parent1b4822ecb93021e6273c92093f78dcb6ccc0cf91
Correct the reported index.

When asked to copy an incompatible reference, System.arraycopy() would
complain about the nth element it was to copy, and not the absolute
index of that element.

Change-Id: I0f4a159b96fbedf083c3add57d2e20ee750d70fe
vm/native/java_lang_System.c