The Java Thread.suspend() method may cause Java application programs to hang. It is strongly recommended that you do not use the suspend() and resume() methods.
Hangs may occur because a thread holding a lock is suspended and the thread responsible for resuming this thread needs this lock. This is a general problem with threaded programming because of improper usage of these primitives, which leads to application deadlocks.
Workaround: Use other appropriate synchronization methods, such as wait() and notify().
java.sql.Timestamp accepts a two-digit year but does not allow for years beyond 1999 (it interprets a two-digit date as 19xx). This problem does not occur when a four-digit year is specified.
The java.sql.Timestamp class extends the java.util.Date class where several methods have been deprecated. To ensure forward compatibility, use the java.text.SimpleDateFormat methods.