* [backport] fix #11320 * fix test for 32 bit test
* fixes #11180, forbid casting to unchecked array. * allow UncheckedArray as param