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

Mikhail Yankelevich duke at openjdk.org
Thu Feb 13 12:39:17 UTC 2025


On Wed, 12 Feb 2025 19:31:31 GMT, Rajan Halade <rhalade at openjdk.org> wrote:

>> test/jdk/sun/security/pkcs11/Provider/MultipleLogins.java line 63:
>> 
>>> 61:     private static void copyDbFiles() throws IOException {
>>> 62:         final var testFolder = System.getProperty("test.src", ".");
>>> 63:         final var destination = Paths.get(testFolder);
>> 
>> Don't update `test.src` with a copy of these files. It should instead use `test.classes`
>
> It should be scratch directory. Refer to PR https://github.com/openjdk/jdk/pull/21665

Changed to the scratch directory in the next commit. Thanks for pointing this out

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

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


More information about the security-dev mailing list