Remove Android specific ArrayIndexOutOfBoundsException

It was noticed while testing behavioral differences between the RI and
Android that the ArrayUtils class would not compile against the RI
library because it referenced an Android specific constructor on
ArrayIndexOutOfBoundsException. Investigation revealed that the
constructor was hidden and ArrayUtils seemed to be the only user of
that constructor.

The constructor was original added to luni code in 363291564f so
that luni code was copied into ArrayUtils and the constructor was
removed.

Bug: 110251104
Test: make checkbuild run CtsLibcoreTestCases
Change-Id: I446a222f63082c0455832db6133864a62868afba
2 files changed