RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"

2024-05-23 Thread Daniel Fuchs
This is one of these tests that is not really fixable if any other process that might open a socket runs concurrently with it on the same machine: nothing can guarantee that if you open a socket, close it, then open a new socket on the same port, that port will still be free. It might work most

Re: RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use" [v2]

2024-05-23 Thread Daniel Fuchs
> This is one of these tests that is not really fixable if any other process > that might open a socket runs concurrently with it on the same machine: > nothing can guarantee that if you open a socket, close it, then open a new > socket on the same port, that port will still be free. It might wo

Re: RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use" [v2]

2024-05-23 Thread Jaikiran Pai
On Thu, 23 May 2024 09:11:33 GMT, Daniel Fuchs wrote: >> This is one of these tests that is not really fixable if any other process >> that might open a socket runs concurrently with it on the same machine: >> nothing can guarantee that if you open a socket, close it, then open a new >> socket

Re: RFR: 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use" [v2]

2024-05-23 Thread Sean Mullan
On Thu, 23 May 2024 09:11:33 GMT, Daniel Fuchs wrote: >> This is one of these tests that is not really fixable if any other process >> that might open a socket runs concurrently with it on the same machine: >> nothing can guarantee that if you open a socket, close it, then open a new >> socket

Re: RFR: 8044609: javax.net.debug options not working and documented as expected [v3]

2024-05-23 Thread Sean Coffey
> The `javax.net.debug` TLS debug option is buggy since TLSv1.3 implementation > was introduced many years ago. > > Where "ssl" was previously a value to obtain all TLS debug traces (except > network type dumps, verbose data), it now prints only a few lines for a > standard client TLS connectio

Re: RFR: 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI [v8]

2024-05-23 Thread Kevin Rushforth
On Thu, 23 May 2024 06:20:51 GMT, Alan Bateman wrote: > > Further, I confirm that if I pass that option to jlink or jpackage when > > creating a custom runtime, there is no warning. > > Great! What about jpackage without a custom runtime, wondering if > --java-options can be tested. Yes, poin

Re: RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v78]

2024-05-23 Thread Kevin Driver
> Introduce an API for Key Derivation Functions (KDFs), which are cryptographic > algorithms for deriving additional keys from a secret key and other data. See > [JEP 478](https://openjdk.org/jeps/478). Kevin Driver has updated the pull request with a new target base due to a merge or a rebase.

Re: RFR: 8325766: Review seclibs tests for cert expiry [v2]

2024-05-23 Thread Sean Mullan
On Wed, 22 May 2024 15:01:52 GMT, Matthew Donovan wrote: >> test/jdk/java/security/testlibrary/CertificateBuilder.java line 417: >> >>> 415: * @throws Exception >>> 416: */ >>> 417: public static CertificateBuilder >>> createClientCertificateBuilder(String subjectName, PublicKey p

Re: RFR: 8330842: Support AES CBC with Ciphertext Stealing (CTS) in SunPKCS11

2024-05-23 Thread Valerie Peng
On Wed, 24 Apr 2024 12:24:20 GMT, Francisco Ferrari Bihurriet wrote: >> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java >> line 697: >> >>> 695: k += token.p11.C_EncryptUpdate(session.id(), >>> 696: 0, in, inOfs, inLen, >

Integrated: 8331975: Enable case-insensitive check in ccache and keytab entry lookup

2024-05-23 Thread Weijun Wang
On Mon, 13 May 2024 14:34:41 GMT, Weijun Wang wrote: > Add a new system property to control the name comparison in keytab and ccache > entry lookup. This pull request has now been integrated. Changeset: da3001da Author:Weijun Wang URL: https://git.openjdk.org/jdk/commit/da3001daf79