From 9d6a3021ca41a6a0695d78ce7835c4af3d2a9227 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 31 May 2009 14:16:08 -0600 Subject: [PATCH] make Hashtable.toString synchronized --- classpath/java/util/Hashtable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classpath/java/util/Hashtable.java b/classpath/java/util/Hashtable.java index 978847a6b7..9715a42a24 100644 --- a/classpath/java/util/Hashtable.java +++ b/classpath/java/util/Hashtable.java @@ -28,7 +28,7 @@ public class Hashtable implements Map { } } - public String toString() { + public synchronized String toString() { return map.toString(); }