Integrated: 8311081: KeytoolReaderP12Test.java fail on localized Windows platform

Justin Lu jlu at openjdk.org
Mon Aug 28 20:39:19 UTC 2023


On Fri, 7 Jul 2023 18:58:02 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`.

This pull request has now been integrated.

Changeset: b4b2fecb
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b4b2fecb42d9f14d73e8d79a9e59dee4d697f9cf
Stats:     6 lines in 1 file changed: 3 ins; 0 del; 3 mod

8311081: KeytoolReaderP12Test.java fail on localized Windows platform

Reviewed-by: lancea, jpai, weijun

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

PR: https://git.openjdk.org/jdk/pull/14806



More information about the security-dev mailing list