- ad = a->header.objheader.vftbl->arraydesc;
- cc = ad->componentvftbl->class;
-
- LLNI_CRITICAL_END;
-
- if (ad->arraytype == ARRAYTYPE_OBJECT) {
- if (value != NULL) {
- if (builtin_instanceof(value, cc) == false) {
- exceptions_throw_illegalargumentexception();
- return;
- }
+ if (value != NULL) {
+ if (builtin_canstore(a, value) == false) {
+ exceptions_throw_illegalargumentexception();
+ return;