[jdk11u-dev] RFR: 8280950: RandomGenerator:NextDouble() default behavior non conformant after JDK-8280550 fix [v3]

Goetz Lindenmaier goetz at openjdk.org
Thu Nov 3 14:28:43 UTC 2022


> I had to do similar resolves as in the underlying change JDK-8280550.
> 
> In the test, I had to remove RandomGenerator which is not in 11.
> The same pattern can not be implemented with SplittableRandom as it is final.
> Thus, the test is no more deterministic. It depends on whether the
> rounding error actually occurs.

Goetz Lindenmaier has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:

 - Merge branch 'master' into goetz_backport_8280950
 - Make test compile with 11
 - Backport 0e70d4504c267174738485c7da82a2ac0ef09770
 - Remove stray comments
 - Add Test forgotten in orig commit.
 - Backport 0c42e43f77b91a50fedc3fddb74e17f910d8df2a

-------------

Changes: https://git.openjdk.org/jdk11u-dev/pull/1487/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1487&range=02
  Stats: 32 lines in 4 files changed: 28 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1487.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1487/head:pull/1487

PR: https://git.openjdk.org/jdk11u-dev/pull/1487


More information about the jdk-updates-dev mailing list