Non-thread-safe class is evil

20 Nov 2013

Encountered 2 of them:

  • ByteBuffer
  • SimpleDateFormat

The error message usually doesn't make any sense.

The input format is incorrect is one of them (even when you print it out, it looks correct)

BE CAREFUL!!!

Give it a kudos