Is it valid to share one instance of the Random class between multiple threads? And to call nextInt(int) from multiple threads in particular?
Random
nextInt(int)
Acording to the documentation, Math.random() guarantees it's safe for use by multiple threads. But the Random class does not. I would assume then you'll have to synchronize that yourself.