diff options
author | Elliott Hughes <enh@google.com> | 2010-03-24 23:38:48 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-03-24 23:38:48 -0700 |
commit | 1e8bd6143140f44337d6f567335afeb48b263d95 (patch) | |
tree | e283274b2ac2147772402bda53475ffc58e70b28 /include/ScopedJavaUnicodeString.h | |
parent | 7ff716b7ac5af87920480c83d4111aa9cfcd7214 (diff) |
Fix java.util.Random's constructors.
Subclasses rely on having their overridden setSeed called by Random's
constructors, and the RI actually documents this behavior. (The
documentation even changed between Java 5 and Java 6 to make it _more_
explicit.)
This patch keeps that part of I6239d93bb46876ef1c4a5e155a6dc1ac6fab4eae
that improved our randomness, but reverts the attempt to fix Random's
uncouth behavior.
Also a regression test so we don't try to fix Random again in future.
Bug: 2502231
Change-Id: Ieea1009145c74eac9475c0cd5066dabad20eb114
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions