Question: is java uuid thread safe?
Answer: 2 Answers. UUID is immutable so it's potentially thread safe, but apparently there was some evil caching going on in some accessors that made it unsafe (that bug is fixed now). ... nextBytes , which is used by the UUID. randomUUID factory, which definitely is thread-safe.