harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r330914 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/thread.c
Date Fri, 04 Nov 2005 21:31:12 GMT
Author: dlydick
Date: Fri Nov  4 13:31:04 2005
New Revision: 330914

URL: http://svn.apache.org/viewcvs?rev=330914&view=rev
Log:
Added mechanism for internal support of strings as a quasi-primative.

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=330914&r1=330913&r2=330914&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 Fri
Nov  4 13:31:04 2005
@@ -453,6 +453,11 @@
     {
         if (rtrue == jvm_completely_initialized)
         {
+            /*
+             * Don't examine pjvm->class_java_lang_Thread because that
+             * gets set @e after the class is loaded, whereas here
+             * a runtime test for loadability is implicit.
+             */
             jvm_class_index clsidxTHR =
                 class_find_by_prchar(JVMCLASS_JAVA_LANG_THREAD);
 
@@ -483,7 +488,8 @@
                                     LOCAL_CONSTANT_NO_ARRAY_DIMS,
                                     (jint *) rnull,
                                     rtrue,
-                                    thridx);
+                                    thridx,
+                                    (CONSTANT_Utf8_info *) rnull);
 
             THREAD(thridx).thread_objhash = objhashTHR;
             (rvoid) GC_OBJECT_MKREF_FROM_OBJECT(jvm_object_hash_null,



Mime
View raw message