[jdk11u-dev] RFR: 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
SendaoYan
syan at openjdk.org
Thu Mar 28 03:47:25 UTC 2024
Backport of [JDK-8321925](https://bugs.openjdk.org/browse/JDK-8321925).
The origin PR use `int nextInt(int origin, int bound)`, but the jdk11 do not have this API. So I change `int nextInt(int origin, int bound)` to `nextInt(bound - origin) + origin`.
Only change the testcase, the change has been verified, the risk is low.

-------------
Commit messages:
- Backport b6233c3de773fb57b23704f1fec05d8b2d9c11c0
Changes: https://git.openjdk.org/jdk11u-dev/pull/2631/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2631&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8321925
Stats: 23 lines in 1 file changed: 13 ins; 0 del; 10 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2631.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2631/head:pull/2631
PR: https://git.openjdk.org/jdk11u-dev/pull/2631
More information about the jdk-updates-dev
mailing list