Author: toad
Date: 2008-02-07 18:41:56 +0000 (Thu, 07 Feb 2008)
New Revision: 17671
Modified:
trunk/freenet/src/freenet/node/FailureTableEntry.java
Log:
This method needs to be synchronized.
Modified: trunk/freenet/src/freenet/node/FailureTableEntry.java
===================================================================
--- trunk/freenet/src/freenet/node/FailureTableEntry.java 2008-02-07
17:10:10 UTC (rev 17670)
+++ trunk/freenet/src/freenet/node/FailureTableEntry.java 2008-02-07
18:41:56 UTC (rev 17671)
@@ -360,7 +360,7 @@
/** Offer this key to all the nodes that have requested it, and all the
nodes it has been requested from.
* Called after a) the data has been stored, and b) this entry has been
removed from the FT */
- public void offer() {
+ public synchronized void offer() {
HashSet set = new HashSet();
if(logMINOR) Logger.minor(this, "Sending offers to nodes which
requested the key from us:");
for(int i=0;i<requestorNodes.length;i++) {