Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272988

java.util.random package summary contains incorrect mixing function in table

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 18
    • core-libs
    • None
    • minimal
    • No risk.
    • Java API
    • SE

    Description

      Summary

      Incorrect entries appear in LXM Multipliers table.

      Problem

      The mixing column of six final entries should be mixLea64, not mixLea32.

      Solution

      Correct the entries.

      Specification

      diff --git a/src/java.base/share/classes/java/util/random/package-info.java b/src/java.base/share/classes/java/util/random/package-info.java
      index 2e56c1b6db0..ec5f682262e 100644
      --- a/src/java.base/share/classes/java/util/random/package-info.java
      +++ b/src/java.base/share/classes/java/util/random/package-info.java
      @@ -599,32 +599,32 @@
        *       <td style="text-align:right">{@code 0xd1342543de82ef95L}</td>
        *       <td style="text-align:left">{@code xoroshiro128}, version 1.0</td>
        *       <td style="text-align:left">{@code (24, 16, 37)}</td>
      - *       <td style="text-align:left">mixLea32{@code (s+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (s+x0)}</td></tr>
        *   <tr><td style="text-align:left">"L64X256MixRandom"</td>
        *       <td style="text-align:right">{@code 0xd1342543de82ef95L}</td>
        *       <td style="text-align:left">{@code xoshiro256}, version 1.0</td>
        *       <td style="text-align:left">{@code (17, 45)}</td>
      - *       <td style="text-align:left">mixLea32{@code (s+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (s+x0)}</td></tr>
        *   <tr><td style="text-align:left">"L64X1024MixRandom"</td>
        *       <td style="text-align:right">{@code 0xd1342543de82ef95L}</td>
        *       <td style="text-align:left">{@code xoroshiro1024}, version 1.0</td>
        *       <td style="text-align:left">{@code (25, 27, 36)}</td>
      - *       <td style="text-align:left">mixLea32{@code (s+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (s+x0)}</td></tr>
        *   <tr><td style="text-align:left">"L128X128MixRandom"</td>
        *       <td style="text-align:right">{@code 0x1d605bbb58c8abbfdL}</td>
        *       <td style="text-align:left">{@code xoroshiro128}, version 1.0</td>
        *       <td style="text-align:left">{@code (24, 16, 37)}</td>
      - *       <td style="text-align:left">mixLea32{@code (sh+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (sh+x0)}</td></tr>
        *   <tr><td style="text-align:left">"L128X256MixRandom"</td>
        *       <td style="text-align:right">{@code 0x1d605bbb58c8abbfdL}</td>
        *       <td style="text-align:left">{@code xoshiro256}, version 1.0</td>
        *       <td style="text-align:left">{@code (17, 45)}</td>
      - *       <td style="text-align:left">mixLea32{@code (sh+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (sh+x0)}</td></tr>
        *   <tr><td style="text-align:left">"L128X1024MixRandom"</td>
        *       <td style="text-align:right">{@code 0x1d605bbb58c8abbfdL}</td>
        *       <td style="text-align:left">{@code xoroshiro1024}, version 1.0</td>
        *       <td style="text-align:left">{@code (25, 27, 36)}</td>
      - *       <td style="text-align:left">mixLea32{@code (sh+x0)}</td></tr>
      + *       <td style="text-align:left">mixLea64{@code (sh+x0)}</td></tr>
        * </tbody>
        * </table>
        *

      Attachments

        Issue Links

          Activity

            People

              jlaskey Jim Laskey
              webbuggrp Webbug Group
              Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: