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 | ec7c8c98a4094580224eb9c400249c5c0984cf29 (patch) | |
| tree | 26bc5a6edaa403017c9cc56aaa1256612ea382f6 /vm/compiler/codegen/arm/LocalOptimizations.c | |
| parent | f87ab9616697b8bae08c5e8007cbdd0039a1f8ce (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 'vm/compiler/codegen/arm/LocalOptimizations.c')
0 files changed, 0 insertions, 0 deletions
