harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r406487 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c
Date Mon, 15 May 2006 00:53:30 GMT
Author: dlydick
Date: Sun May 14 17:53:30 2006
New Revision: 406487

URL: http://svn.apache.org/viewcvs?rev=406487&view=rev
Log:
Use (const) variable in place of define for null constant pool index.

Enahanced description of array load against lack of array type check.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c?rev=406487&r1=406486&r2=406487&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c Sun
May 14 17:53:30 2006
@@ -679,6 +679,10 @@
  * prepare to invoke @c @b static methods, and prepare
  * to start thread.
  *
+ * Because no check for CLASS_STATUS_ARRAY or OBJECT_STATUS_ARRAY
+ * is performed, this permits all array classes to fully load, that is,
+ * the class for each dimension of the array.
+ *
  * Classes loaded through this function will not be marked as
  * referenced, but will also not be marked for garbage collection,
  * either.
@@ -767,7 +771,7 @@
      * Make special exception for @c @b java.lang.Object,
      * no superclass
      */
-    if (CONSTANT_CP_DEFAULT_INDEX == pcfs_recurse->super_class)
+    if (jvm_constant_pool_index_null == pcfs_recurse->super_class)
     {
         pcfs_recurse = (ClassFile *) rnull;
     }
@@ -801,7 +805,7 @@
          * the possibility of a class circularity error is probably
          * almost 100%.
          */
-        if (CONSTANT_CP_DEFAULT_INDEX == pcfs_recurse->super_class)
+        if (jvm_constant_pool_index_null == pcfs_recurse->super_class)
         {
             break;
         }



Mime
View raw message