hg: jdk8/tl/jdk: 6470700: Math.random() / Math.initRNG() uses "double checked locking"

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Aug 23 09:03:01 UTC 2013


Changeset: 223be1d3494f
Author:    bpb
Date:      2013-08-22 13:32 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/223be1d3494f

6470700: Math.random() / Math.initRNG() uses "double checked locking"
Summary: Replace class Random variable with a static final holder class
Reviewed-by: alanb, mduigou, chegar
Contributed-by: Brian Burkhalter <brian.burkhalter at oracle.com>

! src/share/classes/java/lang/Math.java
! src/share/classes/java/lang/StrictMath.java




More information about the security-dev mailing list