Update of /cvsroot/freenet/freenet/src/freenet/support/test
In directory sc8-pr-cvs1:/tmp/cvs-serv5586/src/freenet/support/test
Modified Files:
FieldsTest.java
Log Message:
Work around problem with ThrottleAsyncEntropyYarrow/Yarrow initialization order.
Made randSource in Core private and started exposing it though a getter instead of
directly.
Index: FieldsTest.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/support/test/FieldsTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- FieldsTest.java 18 Oct 2003 00:17:57 -0000 1.3
+++ FieldsTest.java 27 Oct 2003 14:45:18 -0000 1.4
@@ -26,8 +26,8 @@
}
public void setUp() {
- if (Core.randSource != null)
- random = Core.randSource;
+ if (Core.getRandSource() != null)
+ random = Core.getRandSource();
else
random = new Yarrow();
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs