On Thu, 8 May 2025 05:20:19 GMT, Rajan Halade <rhal...@openjdk.org> wrote:
>> Mikhail Yankelevich has updated the pull request incrementally with one >> additional commit since the last revision: >> >> cleanup > > test/jdk/java/security/cert/CertificateFactory/SlowStream.java line 32: > >> 30: >> 31: import java.io.*; >> 32: import java.security.cert.*; > > Suggestion: > > import java.io.File; > import java.io.FileInputStream; > import java.io.PipedInputStream; > import java.io.PipedOutputStream; > import java.security.cert.CertificateFactory; Implemented in the next commit. Thank you > test/jdk/java/security/cert/CertificateFactory/SlowStream.java line 55: > >> 53: outputStream.write(buffer, 0, len); >> 54: } >> 55: Thread.sleep(2000); > > Suggestion: > > try(final var fin = new FileInputStream(new File(new File( > System.getProperty("test.src", "."), "openssl"), > "pem"))) { > final byte[] buffer = new byte[4096]; > while (true) { > int len = fin.read(buffer); > if (len < 0) { > break; > } > outputStream.write(buffer, 0, len); > } > Thread.sleep(2000); > } Implemented in the next commit. Thank you > test/jdk/java/security/cert/CertificateFactory/SlowStream.java line 94: > >> 92: } >> 93: } >> 94: } > > Suggestion: > > } Implemented in the next commit. Thank you ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23394#discussion_r2079443877 PR Review Comment: https://git.openjdk.org/jdk/pull/23394#discussion_r2079444089 PR Review Comment: https://git.openjdk.org/jdk/pull/23394#discussion_r2079443984