Code drop from //branches/cupcake/...@124589
diff --git a/vm/interp/Interp.c b/vm/interp/Interp.c
index 41c5cf5..0287f82 100644
--- a/vm/interp/Interp.c
+++ b/vm/interp/Interp.c
@@ -13,6 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 /*
  * Main interpreter entry point and support functions.
  *
@@ -518,15 +519,16 @@
  * Returns true if job is completed, otherwise false to indicate that
  * an exception has been thrown.
  */
-bool dvmInterpHandleFillArrayData(ArrayObject* arrayObj, 
-                                  const u2* arrayData)
+bool dvmInterpHandleFillArrayData(ArrayObject* arrayObj, const u2* arrayData)
 {
     u2 width;
     u4 size;
 
-    if (!checkForNull((Object*) arrayObj)) {
+    if (arrayObj == NULL) {
+        dvmThrowException("Ljava/lang/NullPointerException;", NULL);
         return false;
     }
+
     /*
      * Array data table format:
      *  ushort ident = 0x0300   magic value
@@ -713,3 +715,4 @@
 
     *pResult = interpState.retval;
 }
+