[kaffe] CVS kaffe (guilhem): DestroyClass fix.

Kaffe CVS cvs-commits at kaffe.org
Thu Jul 14 07:10:40 PDT 2005


PatchSet 6730 
Date: 2005/07/14 14:05:54
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
DestroyClass fix.

2005-07-14  Daniel Bonniot  <bonniot at users.sf.net>

        * kaffe/kaffevm/gcFuncs.c
        (destroyClass): Removed break because entries may be duplicated.

Members: 
	ChangeLog:1.4254->1.4255 
	kaffe/kaffevm/gcFuncs.c:1.77->1.78 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4254 kaffe/ChangeLog:1.4255
--- kaffe/ChangeLog:1.4254	Wed Jul 13 21:27:40 2005
+++ kaffe/ChangeLog	Thu Jul 14 14:05:54 2005
@@ -1,3 +1,8 @@
+2005-07-14  Daniel Bonniot  <bonniot at users.sf.net>
+
+	* kaffe/kaffevm/gcFuncs.c
+	(destroyClass): Removed break because entries may be duplicated.
+
 2005-07-13  Andreas Tobler  <toa at pop.agri.ch>
 
 	* config/powerpc/trampolines.S:
Index: kaffe/kaffe/kaffevm/gcFuncs.c
diff -u kaffe/kaffe/kaffevm/gcFuncs.c:1.77 kaffe/kaffe/kaffevm/gcFuncs.c:1.78
--- kaffe/kaffe/kaffevm/gcFuncs.c:1.77	Tue Jul  5 17:20:40 2005
+++ kaffe/kaffe/kaffevm/gcFuncs.c	Thu Jul 14 14:05:57 2005
@@ -211,7 +211,9 @@
 		  if ((*impl_clazz)->interfaces[i] == clazz)
 		    {
 		      (*impl_clazz)->interfaces[i] = NULL;
-		      break;
+		      /* We cannot here because there may exist duplicates
+		       * in the current list.
+		       */
 		    }
 	      }
 	    




More information about the kaffe mailing list