You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by dl...@apache.org on 2007/08/13 00:17:31 UTC
svn commit: r565177 -
/harmony/enhanced/sandbox/bootjvm/bootJVM/jvm/src/object.c
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)
{
/*!