RFR: 8311081: KeytoolReaderP12Test.java fail on localized Windows platform [v2]

Weijun Wang weijun at openjdk.org
Mon Aug 28 18:31:23 UTC 2023


On Thu, 13 Jul 2023 18:07:54 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> Please review this PR which addresses `KeytoolReaderP12Test.java` failing for non-English locale users.
>> 
>> This test checks output from keytool, but fails on finding the value 'alias name' for non-English locale users. This is because 'alias name' is a localized value. (For example, in `ja` this is '別名'). 
>> 
>> To fix the failing issue, the keytool process should be ran with `-J-Duser.language=en -J-Duser.country=US`.
>
> Justin Lu has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Revert spacing changes to KeytoolReaderP12Test.java
>  - Move English locale params to executeKeytoolCommand

Marked as reviewed by weijun (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/14806#pullrequestreview-1598824120



More information about the security-dev mailing list