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

Oli Gillespie ogillespie at openjdk.org
Tue Mar 19 14:21: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!

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

Commit messages:
 - Backport 69b2674c6861fdb7d9f9cb39e07d50515c73e33a

Changes: https://git.openjdk.org/jdk17u-dev/pull/2308/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2308&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324648
  Stats: 16 lines in 1 file changed: 9 ins; 3 del; 4 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