RFR[13] JDK-8146392: sun/security/tools/keytool/selfissued.sh failed with ar_SA locale
Weijun Wang
weijun.wang at oracle.com
Mon Feb 11 10:57:21 UTC 2019
Please close it as will-not-fix because I'm about to modify it into a java test soon.
Thanks,
Max
> On Feb 11, 2019, at 6:47 PM, sha.jiang at oracle.com wrote:
>
> Hi,
> This fix just makes sure that the keytool in test sun/security/tools/keytool/selfissued.sh uses en_US locale,
> or the test fails with ar_SA.
>
> diff -r bc20d0376402 test/jdk/sun/security/tools/keytool/selfissued.sh
> --- a/test/jdk/sun/security/tools/keytool/selfissued.sh Mon Jan 28 23:00:31 2019 +0100
> +++ b/test/jdk/sun/security/tools/keytool/selfissued.sh Mon Feb 11 14:58:34 2019 +0800
> @@ -1,5 +1,5 @@
> #
> -# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
> +# Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
> # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
> #
> # This code is free software; you can redistribute it and/or modify it
> @@ -45,7 +45,7 @@
> esac
>
> KS=selfsigned.ks
> -KT="$TESTJAVA${FS}bin${FS}keytool ${TESTTOOLVMOPTS} -storepass changeit -keypass changeit -keystore $KS -keyalg rsa"
> +KT="$TESTJAVA${FS}bin${FS}keytool ${TESTTOOLVMOPTS} -J-Duser.language=en -J-Duser.country=US -storepass changeit -keypass changeit -keystore $KS -keyalg rsa"
>
> rm $KS
>
>
> Best regards,
> John Jiang
>
More information about the security-dev
mailing list