Integrated: JDK-8315422: getSoTimeout() would be in try block in SSLSocketImpl

2023-08-31 Thread John Jiang
On Thu, 31 Aug 2023 02:34:58 GMT, John Jiang wrote: > The method `SSLSocketImpl::closeSocket` has the below code snippet, > > > if (appInput.readLock.tryLock()) { > int soTimeout = getSoTimeout(); > try { > // deplete could hang on the skip operation > // in case of infi

RFR: 8313575: Refactor PKCS11Test tests

2023-08-31 Thread Rajan Halade
PKCS11Test is updated to remove testDefault and testDeimos. Sun Crypto Accelerator is not supported now and there is no default PKCS11 provider with default JDK configuration. - Commit messages: - 8313575: Refactor PKCS11Test tests Changes: https://git.openjdk.org/jdk/pull/15523/f

Re: Modification of Client hello TLS packet

2023-08-31 Thread Bernd
Hello,Can you confirm, you say the alert is coming from a non-java server, or are you saying your modified handshake is rejected by a Java server? (Or do you think the alert is not received?).I would turn on ssl debug logging and upload the traces to a gist sharing side so

Integrated: 8312306: Add more Reference.reachabilityFence() calls to the security classes using Cleaner

2023-08-31 Thread Valerie Peng
On Tue, 22 Aug 2023 18:06:59 GMT, Valerie Peng wrote: > This PR updates the various security classes using Cleaner with the > try/finally pattern. Also noticed that SunJCE's PBEKey impl class overrides > the destroy() method but not the isDestroyed() method, fixed this > inconsistency as well.

Re: RFR: 8314085: Fixing scope from benchmark to thread for JMH tests having shared state

2023-08-31 Thread Sandhya Viswanathan
On Thu, 10 Aug 2023 15:30:19 GMT, Swati Sharma wrote: > In addition to the issue > [JDK-8311178](https://bugs.openjdk.org/browse/JDK-8311178), logically fixing > the scope from benchmark to thread for below benchmark files having shared > state, also which fixes few of the benchmarks scalabili

Re: Modification of Client hello TLS packet

2023-08-31 Thread Stephen Farrell
Hiya, On 31/08/2023 15:00, Filip Petr. wrote: My goal is for a community of automation experts to have a perfectly matched Client hello (JA3 hash) fingerprint as modern commercial browsers so they can do their job more successfully. For this to happen one must add 8 additional extensions to the

Modification of Client hello TLS packet

2023-08-31 Thread Filip Petr.
My goal is for a community of automation experts to have a perfectly matched Client hello (JA3 hash) fingerprint as modern commercial browsers so they can do their job more successfully. For this to happen one must add 8 additional extensions to the Client hello request. Those changes were done und

Re: RFR: 8315097: Rename createJavaProcessBuilder [v3]

2023-08-31 Thread Mark Sheppard
On Thu, 31 Aug 2023 05:45:27 GMT, David Holmes wrote: > > So you could create a single createJavaProcessBuilder with add an > > additional parameter boolean addTestOpts e.g. > > createJavaProcessBuilder(List command, boolean addTestOpts) { ... } > > @msheppar that is actually where we started,