harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r478555 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
Date Thu, 23 Nov 2006 13:00:02 GMT
Author: varlax
Date: Thu Nov 23 05:00:01 2006
New Revision: 478555

URL: http://svn.apache.org/viewvc?view=rev&rev=478555
Log:
Applied HARMONY-2233 [drlvm] Test attached to HARMONY-2072 asserts.
Tested on WinXP.

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp?view=diff&rev=478555&r1=478554&r2=478555
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_init.cpp Thu Nov 23 05:00:01 2006
@@ -507,7 +507,7 @@
     thread_handle = oh_allocate_global_handle();
     thread_handle->object = class_alloc_new_object(thread_class);
     if (thread_handle->object == NULL) {
-        assert(exn_get() == vm_env->java_lang_OutOfMemoryError);
+        assert(exn_raised() && exn_get()->object == vm_env->java_lang_OutOfMemoryError->object);
         return JNI_ENOMEM;
     }
     *thread_object = thread_handle;



Mime
View raw message