jdk/src/share/classes/javax/sql/rowset/serial/SerialJavaObject.java
changeset 14781 701d0765f75f
parent 14409 d879c92507ec
child 18211 74aeb4741e3d
--- a/jdk/src/share/classes/javax/sql/rowset/serial/SerialJavaObject.java	Thu Dec 13 08:11:38 2012 +0800
+++ b/jdk/src/share/classes/javax/sql/rowset/serial/SerialJavaObject.java	Wed Dec 12 20:57:45 2012 -0500
@@ -44,6 +44,12 @@
  * Static or transient fields cannot be serialized; an attempt to serialize
  * them will result in a <code>SerialException</code> object being thrown.
  *
+ * <h4> Thread safety </h4>
+ *
+ * A SerialJavaObject is not safe for use by multiple concurrent threads.  If a
+ * SerialJavaObject is to be used by more than one thread then access to the
+ * SerialJavaObject should be controlled by appropriate synchronization.
+ *
  * @author Jonathan Bruce
  */
 public class SerialJavaObject implements Serializable, Cloneable {