[jdk17u-dev] RFR: 8324648: Avoid NoSuchMethodError when instantiating NativePRNG [v2]

Oli Gillespie ogillespie at openjdk.org
Wed Apr 3 08:44:39 UTC 2024


> Hi all,
> 
> This pull request contains a backport of commit [69b2674c](https://github.com/openjdk/jdk/commit/69b2674c6861fdb7d9f9cb39e07d50515c73e33a) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
> The commit being backported was authored by Oli Gillespie on 9 Feb 2024 and was reviewed by Aleksey Shipilev, Weijun Wang, Chen Liang and Valerie Peng.
> 
> I had to manually resolve the copyright change, but apart from that it's clean.
> 
> Benchmark results (`make test TEST=micro:org.openjdk.bench.java.security.SecureRandomBench`, using the benchmark from https://github.com/openjdk/jdk/pull/17559):
> 
> 
> Before: 2614 ± 127  ns/op
>  After:  508 ± 7 ns/op
>  ```
> 
> Thanks!

Oli Gillespie 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 two additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master' into backport-8324648-nsme
 - Backport 69b2674c6861fdb7d9f9cb39e07d50515c73e33a

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/2308/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/2308/files/3d7336c8..e368bbbe

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2308&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2308&range=00-01

  Stats: 110551 lines in 2651 files changed: 59009 ins; 34443 del; 17099 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2308.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2308/head:pull/2308

PR: https://git.openjdk.org/jdk17u-dev/pull/2308


More information about the jdk-updates-dev mailing list