[jdk11u-dev] RFR: 8260274: Cipher.init(int, key) does not use highest priority provider for random bytes [v3]

Lutz Schmidt lucy at openjdk.org
Tue May 30 13:14:54 UTC 2023


> This backport is done for 11.0.20-oracle parity. 
> 
> The patch applies cleanly except for copyright header mismatches after the predecessor patch JDK-8246383.
> Unfortunately, the newly introduced TestDefaultRandom.java uses switch expressions which are not available in jdk11. The test had to be backfitted to compile with jdk11.
> 
> Tests (GHA and SAP internal) sucessful after test update.
> Separate execution of TestDefaultRandom.java (new test) successful with this patch applied. fails otherwise.

Lutz Schmidt has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - JDK-8260274 merge master
 - JDK-8260274: avoid use of switch expressions
 - Backport 434a399bea4b116f14df963a5f5045608956a772
 - Backport 03f2ab325d30b74095f8abec8dbe09def27950c7

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1902/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1902/files/5cf3b10e..00d0ebcc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1902&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1902&range=01-02

  Stats: 1726 lines in 41 files changed: 1470 ins; 65 del; 191 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1902.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1902/head:pull/1902

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


More information about the jdk-updates-dev mailing list