RFR: 8294509: The sign extension bug applies to 'public static int[] convertSeedBytesToInts(byte[] seed, int n, int z)' in RandomSupport

Raffaello Giulietti rgiulietti at openjdk.org
Mon Oct 3 09:53:51 UTC 2022


Fixes sign extension propagation to higher bits.

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

Commit messages:
 - 8294509: The sign extension bug applies to 'public static int[] convertSeedBytesToInts(byte[] seed, int n, int z)' in RandomSupport

Changes: https://git.openjdk.org/jdk/pull/10530/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10530&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8294509
  Stats: 41 lines in 2 files changed: 39 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10530.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10530/head:pull/10530

PR: https://git.openjdk.org/jdk/pull/10530


More information about the core-libs-dev mailing list