harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r370508 - /incubator/harmony/enhanced/jchevm/libjc/class_loader.c
Date Thu, 19 Jan 2006 15:52:54 GMT
Author: archie
Date: Thu Jan 19 07:52:52 2006
New Revision: 370508

URL: http://svn.apache.org/viewcvs?rev=370508&view=rev
Log:
Fix glitch in r370502 (only when running with assertions enabled).

Modified:
    incubator/harmony/enhanced/jchevm/libjc/class_loader.c

Modified: incubator/harmony/enhanced/jchevm/libjc/class_loader.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/class_loader.c?rev=370508&r1=370507&r2=370508&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/class_loader.c (original)
+++ incubator/harmony/enhanced/jchevm/libjc/class_loader.c Thu Jan 19 07:52:52 2006
@@ -298,7 +298,7 @@
 
 #ifndef NDEBUG
 	/* Sanity check */
-	for (pos = 0; pos < loader->num_implicit_refs; pos++)
+	for (pos = 1; pos < loader->num_implicit_refs; pos++)
 		_JC_ASSERT(loader->implicit_refs[pos] > loader->implicit_refs[pos - 1]);
 #endif
 



Mime
View raw message