harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r539488 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
Date Fri, 18 May 2007 14:47:04 GMT
Author: gshimansky
Date: Fri May 18 07:47:03 2007
New Revision: 539488

URL: http://svn.apache.org/viewvc?view=rev&rev=539488
Log:
Applied HARMONY-3056 [drlvm][classloader] EUT intermittemintly fail on assertion in classloader


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp?view=diff&rev=539488&r1=539487&r2=539488
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp Fri May 18 07:47:03
2007
@@ -427,9 +427,10 @@
 {
     LMAutoUnlock aulock( &m_lock );
     LoadingClass* lc = m_loadingClasses->Lookup(className);
-    assert(lc);
-    lc->SignalLoading();
-    RemoveLoadingClass(className, lc);
+    if (lc) {
+        lc->SignalLoading();
+        RemoveLoadingClass(className, lc);
+    }
 }
 
 ClassLoader* ClassLoader::FindByObject(ManagedObject* loader)



Mime
View raw message