RFR: 8349535: Refactor ./pkcs11/Provider/MultipleLogins.sh to java test [v3]

Weijun Wang weijun at openjdk.org
Fri Feb 14 15:10:13 UTC 2025


On Thu, 13 Feb 2025 13:48:26 GMT, Mikhail Yankelevich <duke at openjdk.org> wrote:

>> Moved the sh file logic to jtreg java test.
>
> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
> 
>   changed to use a scratch directory

test/jdk/sun/security/pkcs11/Provider/MultipleLogins.java line 63:

> 61:     private static final SunPKCS11[] providers = new SunPKCS11[NUM_PROVIDERS];
> 62: 
> 63:     private static void copyDbFiles() throws IOException {

We have existing utility method for this at https://github.com/openjdk/jdk/blob/a49f8332edc7da2a9494cd0dc96e5aa7271d9883/test/jdk/sun/security/pkcs11/PKCS11Test.java#L846.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23590#discussion_r1956296145


More information about the security-dev mailing list