jdk/src/share/classes/java/util/Calendar.java
changeset 11681 9a1076231db7
parent 10419 12c063b39232
child 12448 b95438b17098
--- a/jdk/src/share/classes/java/util/Calendar.java	Tue Jan 24 15:13:27 2012 -0500
+++ b/jdk/src/share/classes/java/util/Calendar.java	Thu Jan 26 17:06:47 2012 +0900
@@ -2705,7 +2705,7 @@
      * removed from the serialization stream; this will probably happen in the
      * near future.
      */
-    private void writeObject(ObjectOutputStream stream)
+    private synchronized void writeObject(ObjectOutputStream stream)
          throws IOException
     {
         // Try to compute the time correctly, for the future (stream