harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r565177 - /harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c
Date Sun, 12 Aug 2007 22:17:31 GMT
Author: dlydick
Date: Sun Aug 12 15:17:30 2007
New Revision: 565177

URL: http://svn.apache.org/viewvc?view=rev&rev=565177
Log:
Throw abstract method error in object_run_method() when
that condition is detected.

Modified:
    harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c

Modified: harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c?view=diff&rev=565177&r1=565176&r2=565177
==============================================================================
--- harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c (original)
+++ harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c Sun Aug 12 15:17:30 2007
@@ -175,6 +175,13 @@
 /*NOTREACHED*/
     }
 
+    if (jvm_attribute_index_abstract == codeatridx)
+    {
+        exit_throw_exception(EXIT_JVM_ATTRIBUTE,
+                             JVMCLASS_JAVA_LANG_ABSTRACTMETHODERROR);
+/*NOTREACHED*/
+    }
+
     if (jvm_attribute_index_native == codeatridx)
     {
         /* Pass parameters for both local method and JNI call */
@@ -912,6 +919,7 @@
                                      rfalse,
                                      arraylength);
 
+#warning Confusing jvm_object_hash and jvm_class_index
         if (jvm_object_hash_null == clsidxsuper_class)
         {
             /*!



Mime
View raw message