RFR: 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist" [v3]

Rajan Halade rhalade at openjdk.org
Wed Jan 17 19:54:14 UTC 2024


On Wed, 17 Jan 2024 19:51:39 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

>> I was unable to recreate the error but it looks like the problem could happen if two instances of the test are run on the same machine.  Also, if the deleteEntry() calls in the finally block throw an exception, they can hide any exceptions thrown earlier in the test.
>> 
>> I updated the test to use randomly generated alias names. I also updated the finally block so exceptions thrown by deleteEntry() are logged but not thrown.
>
> Matthew Donovan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Changed bounds on random number and updated copyright year.

Marked as reviewed by rhalade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/17352#pullrequestreview-1828066739



More information about the security-dev mailing list