With the putback of JDK-6425477, we are potentially opening /dev/[u]random multiple times unnecessarily. Optimize this.