[jdk11u-dev] RFR: 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist" [v2]
SendaoYan
syan at openjdk.org
Mon May 13 09:38:10 UTC 2024
> Hi,
>
> Backport of [JDK-8321925](https://bugs.openjdk.org/browse/JDK-8321925).
>
> The origin PR use `int nextInt(int origin, int bound)` [link](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/random/RandomGenerator.html#nextInt(int,int)) , but the jdk11 do not have this API. So I change `int nextInt(int origin, int bound)` to `nextInt(bound - origin) + origin` [link](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Random.html#nextInt(int)).
>
> Only change the testcase, the change has been verified, the risk is low.
>
> 
>
> Thanks,
> -sendao
SendaoYan 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 branch 'openjdk:master' into jbs8321925
- Backport b6233c3de773fb57b23704f1fec05d8b2d9c11c0
Signed-off-by: sendaoYan <yansendao.ysd at alibaba-inc.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/2631/files
- new: https://git.openjdk.org/jdk11u-dev/pull/2631/files/84c0d822..548f51d8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2631&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2631&range=00-01
Stats: 18291 lines in 385 files changed: 11569 ins; 4306 del; 2416 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